Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SkycoinSynth committed Mar 8, 2021
1 parent c989aed commit 459ad95
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cx/fix_mem3.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ var ENABLE_MIRACLE_BUG bool = false

func GetOffsetAtomic(fp int, arg *CXArgument) int {

//return GetFinalOffset(fp, arg)

if ENABLE_MIRACLE_BUG == false {
return GetFinalOffset(fp, arg)
}
Expand Down Expand Up @@ -151,9 +153,10 @@ func GetOffset_f64(fp int, arg *CXArgument) int {
}

// GetOffset_bool ...
//NOTE: BOOL is not ready for migration yet
func GetOffset_bool(fp int, arg *CXArgument) int {
//return GetFinalOffset(fp, arg)
return GetOffsetAtomic(fp, arg)
return GetFinalOffset(fp, arg)
//return GetOffsetAtomic(fp, arg)
}

// GetOffset_str ...
Expand Down

0 comments on commit 459ad95

Please sign in to comment.