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

Unified Diff: src/compiler/ia32/instruction-selector-ia32.cc

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All platforms Created 5 years, 11 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
Index: src/compiler/ia32/instruction-selector-ia32.cc
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc
index 7b6b721a376e5441ed704ecf9c9922324de9d328..ab5ea5e586b868e0a9ed405679a9c7ecb2904d24 100644
--- a/src/compiler/ia32/instruction-selector-ia32.cc
+++ b/src/compiler/ia32/instruction-selector-ia32.cc
@@ -31,7 +31,8 @@ class IA32OperandGenerator FINAL : public OperandGenerator {
// Constants in new space cannot be used as immediates in V8 because
// the GC does not scan code objects when collecting the new generation.
Unique<HeapObject> value = OpParameter<Unique<HeapObject> >(node);
- return !isolate()->heap()->InNewSpace(*value.handle());
+ return !value.handle()->GetIsolate()->heap()->InNewSpace(
Michael Starzinger 2015/01/23 14:21:10 nit: Can we pull out the Isolate into a local vari
danno 2015/01/23 14:45:20 Done.
+ *value.handle());
}
default:
return false;

Powered by Google App Engine
This is Rietveld 408576698