Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 09966c979bfa1e48429e8232aef0feab30162095..db82b39979d403f962ba7b7cb47dd069a197b2ef 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -3266,7 +3266,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); |