Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index db6068df9e23ffa0ec882e852c3d3dd704af55a4..89bf46ba5f750afc316454343a18411adad0e11c 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -167,7 +167,7 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate, |
__ Ret(); |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
DCHECK(!RelocInfo::RequiresRelocation(isolate, desc)); |
Assembler::FlushICache(isolate, buffer, actual_size); |
@@ -256,7 +256,7 @@ MemCopyUint16Uint8Function CreateMemCopyUint16Uint8Function( |
} |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
Assembler::FlushICache(isolate, buffer, actual_size); |
base::OS::ProtectCode(buffer, actual_size); |
@@ -284,7 +284,7 @@ UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate) { |
__ Ret(); |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
DCHECK(!RelocInfo::RequiresRelocation(isolate, desc)); |
Assembler::FlushICache(isolate, buffer, actual_size); |