Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index 02a16de85fdf4aef468947ffa75137d3bbd97a15..366359f5438c6617094ac436d6c3cb21a0f721f4 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -55,7 +55,7 @@ UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate) { |
} |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
DCHECK(!RelocInfo::RequiresRelocation(isolate, desc)); |
Assembler::FlushICache(isolate, buffer, actual_size); |
@@ -468,7 +468,7 @@ MemMoveFunction CreateMemMoveFunction(Isolate* isolate) { |
MemMoveEmitPopAndReturn(&masm); |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
DCHECK(!RelocInfo::RequiresRelocation(isolate, desc)); |
Assembler::FlushICache(isolate, buffer, actual_size); |
base::OS::ProtectCode(buffer, actual_size); |