diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-06-10 21:56:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-06-10 21:56:23 -0700 |
commit | 47ce2063a5b4fc11bee903a3cab3d82d45f8505f (patch) | |
tree | 6db992472115e371dbdc3f4919e3cf43d1e77531 | |
parent | 7aef0b24e83e38224f0c77a55c9d5356ae6830f4 (diff) | |
download | mu-47ce2063a5b4fc11bee903a3cab3d82d45f8505f.tar.gz |
3042
-rw-r--r-- | 036refcount.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/036refcount.cc b/036refcount.cc index ca790bb5..9fa689e2 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -71,7 +71,7 @@ void update_refcounts(int old_address, int new_address, const type_tree* payload int payload_size(reagent/*copy*/ x) { x.properties.push_back(pair<string, string_tree*>("lookup", NULL)); lookup_memory_core(x); - return size_of(x)+/*refcount*/1; + return size_of(x) + /*refcount*/1; } :(scenario refcounts_reflexive) @@ -322,7 +322,7 @@ bool append_addresses(int base_offset, const type_tree* type, vector<address_ele int payload_size(const type_tree* type) { assert(type->name == "address"); - return size_of(type->right)+/*refcount*/1; + return size_of(type->right) + /*refcount*/1; } //: use metadata.address to update refcounts within containers, arrays and |