| Index: src/codegen-ia32.cc
|
| ===================================================================
|
| --- src/codegen-ia32.cc (revision 1085)
|
| +++ src/codegen-ia32.cc (working copy)
|
| @@ -3471,11 +3471,13 @@
|
| // 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 (ShouldGenerateLog(args->at(0))) {
|
| LoadAndSpill(args->at(1));
|
| LoadAndSpill(args->at(2));
|
| frame_->CallRuntime(Runtime::kLog, 2);
|
| }
|
| +#endif
|
| // Finally, we're expected to leave a value on the top of the stack.
|
| frame_->EmitPush(Immediate(Factory::undefined_value()));
|
| }
|
|
|