Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 34d4baa0319482a284f59c03dcfc5467697ebac8..c3440eb3ea1ecd83dff6fc7b6b58a79826f3e09c 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2776,13 +2776,12 @@ 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(r0, Heap::kUndefinedValueRootIndex); |
context()->Plug(r0); |