Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index 56afe7b6dd399df2049bbc43f3dbbb17c63cba65..e017cd6c4ac6163bc2ba1bf87e1cc54055302b94 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -72,6 +72,7 @@ class DeoptCodegenTester { |
} |
Zone* zone() { return scope_->main_zone(); } |
+ Isolate* isolate() { return scope_->main_isolate(); } |
HandleAndZoneScope* scope_; |
Handle<JSFunction> function; |
@@ -102,7 +103,7 @@ class TrivialDeoptCodegenTester : public DeoptCodegenTester { |
// } |
CSignature1<Object*, Object*> sig; |
- RawMachineAssembler m(graph, &sig); |
+ RawMachineAssembler m(isolate(), graph, &sig); |
Handle<JSFunction> deopt_function = |
NewFunction("function deopt() { %DeoptimizeFunction(foo); }; deopt"); |
@@ -220,7 +221,7 @@ class TrivialRuntimeDeoptCodegenTester : public DeoptCodegenTester { |
// } |
CSignature1<Object*, Object*> sig; |
- RawMachineAssembler m(graph, &sig); |
+ RawMachineAssembler m(isolate(), graph, &sig); |
Unique<HeapObject> this_fun_constant = |
Unique<HeapObject>::CreateUninitialized(function); |