Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 54472c21eaac7265ffcaf6dbe0872937cc0527fb..c182dd0ce5800d8db1247fcdf9d4490c0881e6ca 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3243,7 +3243,7 @@ void FullCodeGenerator::EmitLog(CallRuntime* expr) { |
// 2 (array): Arguments to the format string. |
ZoneList<Expression*>* args = expr->arguments(); |
ASSERT_EQ(args->length(), 3); |
- if (CodeGenerator::ShouldGenerateLog(args->at(0))) { |
+ if (CodeGenerator::ShouldGenerateLog(isolate(), args->at(0))) { |
VisitForStackValue(args->at(1)); |
VisitForStackValue(args->at(2)); |
__ CallRuntime(Runtime::kLog, 2); |