Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1028)

Unified Diff: src/IceTargetLoweringX86Base.h

Issue 1661403002: Subzero. X86. Fixes bundle lock/unlock. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringX86Base.h
diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h
index f4119f006c4ec5da15168726fa863a8ee9fa81f2..f35795b783dae8065b7cd1d0775fd9b36b00ac3e 100644
--- a/src/IceTargetLoweringX86Base.h
+++ b/src/IceTargetLoweringX86Base.h
@@ -469,7 +469,9 @@ protected:
? nullptr
: findMemoryReference(Args...)) {
if (MemOperand != nullptr) {
- Bundler = makeUnique<AutoBundle>(Target, BundleLockOpt);
+ if (Traits::Is64Bit) {
+ Bundler = makeUnique<AutoBundle>(Target, BundleLockOpt);
+ }
*MemOperand = Target->_sandbox_mem_reference(*MemOperand);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698