From: Peizhao Ou Date: Fri, 22 Nov 2013 03:49:03 +0000 (-0800) Subject: minor fix X-Git-Url: http://plrg.eecs.uci.edu/git/?p=cdsspec-compiler.git;a=commitdiff_plain;h=ee9b27bad14734cd0fd690d5d933eb44a0d6cae3;ds=inline minor fix --- diff --git a/benchmark/cliffc-hashtable/simplified_cliffc_hashtable.h b/benchmark/cliffc-hashtable/simplified_cliffc_hashtable.h index c02c0a3..a52d238 100644 --- a/benchmark/cliffc-hashtable/simplified_cliffc_hashtable.h +++ b/benchmark/cliffc-hashtable/simplified_cliffc_hashtable.h @@ -448,10 +448,10 @@ friend class CHM; COND_RemoveIfMatchSucc :: __RET__ == true @ID: __sequential.getKeyTag(key) @Action: - if (__COND_SAY__) + if (__COND_SAT__) __sequential.map.put(key, NULL); @Post_check: - __COND_SAY__ ? __RET__ : !__RET__ + __COND_SAT__ ? __RET__ : !__RET__ @End */ bool remove(TypeK& key, TypeV& val) { @@ -487,10 +487,10 @@ friend class CHM; COND_ReplaceIfMatchSucc :: __RET__ == true @ID: __sequential.getKeyTag(key) @Action: - if (__COND_SAY__) + if (__COND_SAT__) __sequential.map.put(key, &newval); @Post_check: - __COND_SAY__ ? __RET__ : !__RET__ + __COND_SAT__ ? __RET__ : !__RET__ @End */ bool replace(TypeK& key, TypeV& oldval, TypeV& newval) {