Commit 8347abda by John Porto

Subzero. X86. Fixes bundle lock/unlock.

The AutoMemorySandboxer does not have to emit a bundle lock/unlock pair for memory operations in x8632, but the current does emit it. This CL changes this behavior. BUG= R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1661403002 .
parent 844211e7
......@@ -469,7 +469,9 @@ protected:
? nullptr
: findMemoryReference(Args...)) {
if (MemOperand != nullptr) {
if (Traits::Is64Bit) {
Bundler = makeUnique<AutoBundle>(Target, BundleLockOpt);
}
*MemOperand = Target->_sandbox_mem_reference(*MemOperand);
}
}
......
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