| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index c0d7e7c6d1492ca683f85e8ca7e0a5e6c5586898..f9f63a70edff7fa1b3516869e9e9a1212bc4f606 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2705,13 +2705,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.
|
| __ mov(eax, isolate()->factory()->undefined_value());
|
| context()->Plug(eax);
|
|
|