Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index beab163acee243a7bc3b752fa9f10829d0dde5e6..2d4730e5572cbad3d1050e1ec56fab1cd467b969 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -544,7 +544,7 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate, |
} |
CodeDesc desc; |
masm.GetCode(&desc); |
- DCHECK(!RelocInfo::RequiresRelocation(desc)); |
+ DCHECK(!RelocInfo::RequiresRelocation(isolate, desc)); |
Assembler::FlushICache(isolate, buffer, actual_size); |
base::OS::ProtectCode(buffer, actual_size); |
@@ -572,7 +572,7 @@ UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate) { |
CodeDesc desc; |
masm.GetCode(&desc); |
- DCHECK(!RelocInfo::RequiresRelocation(desc)); |
+ DCHECK(!RelocInfo::RequiresRelocation(isolate, desc)); |
Assembler::FlushICache(isolate, buffer, actual_size); |
base::OS::ProtectCode(buffer, actual_size); |