Fixed xcode build
git-svn-id: http://v8.googlecode.com/svn/trunk@1040 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/codegen-arm.cc b/src/codegen-arm.cc
index e0cae7f..47da62d 100644
--- a/src/codegen-arm.cc
+++ b/src/codegen-arm.cc
@@ -2580,11 +2580,13 @@
void CodeGenerator::GenerateLog(ZoneList<Expression*>* args) {
// See comment in CodeGenerator::GenerateLog in codegen-ia32.cc.
ASSERT_EQ(args->length(), 3);
+#ifdef ENABLE_LOGGING_AND_PROFILING
if (ShouldGenerateLog(args->at(0))) {
Load(args->at(1));
Load(args->at(2));
__ CallRuntime(Runtime::kLog, 2);
}
+#endif
__ mov(r0, Operand(Factory::undefined_value()));
frame_->Push(r0);
}