Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 46f8c7337698c4697d9d0737083b4159a5e7f8f2..a54bff59bd4609672df0ec589eb2180307d5160f 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2668,13 +2668,11 @@ void FullCodeGenerator::EmitLog(ZoneList<Expression*>* args) { |
// with '%2s' (see Logger::LogRuntime for all the formats). |
// 2 (array): Arguments to the format string. |
ASSERT_EQ(args->length(), 3); |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
if (CodeGenerator::ShouldGenerateLog(args->at(0))) { |
VisitForStackValue(args->at(1)); |
VisitForStackValue(args->at(2)); |
__ CallRuntime(Runtime::kLog, 2); |
} |
-#endif |
// Finally, we're expected to leave a value on the top of the stack. |
__ LoadRoot(rax, Heap::kUndefinedValueRootIndex); |
context()->Plug(rax); |