Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index f8ed7cb687e30ea11c2964b4aa6da3018d30de2f..e16dbebd3c9800bb14f3e8e6899376f27b5b0593 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -49,7 +49,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); |