Commit bbb76da5 authored by Kunshan Wang's avatar Kunshan Wang

WIP: fixed interpreter

parent 59c285d4
......@@ -282,9 +282,8 @@ class ClientAgent(mutator: Mutator)(
val uty = InternalTypePool.unmarkedOf(ty)
val addr = MemoryOperations.addressOf(ptr, loc.vb)
val nvb = newVal.vb
val nb = ValueBox.makeBoxForType(uty)
MemoryOperations.store(ptr, uty, addr, nvb, nb)
MemoryOperations.store(ptr, uty, addr, nvb)
}
def cmpXchg(ordSucc: MemoryOrder, ordFail: MemoryOrder, weak: Boolean, loc: Handle, expected: Handle, desired: Handle): (Boolean, Handle) = {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment