Index: src/builtins.cc |
=================================================================== |
--- src/builtins.cc (revision 1406) |
+++ src/builtins.cc (working copy) |
@@ -699,10 +699,10 @@ |
// Log the event and add the code to the builtins array. |
LOG(CodeCreateEvent("Builtin", Code::cast(code), functions[i].s_name)); |
builtins_[i] = code; |
-#ifdef DEBUG |
+#ifdef ENABLE_DISASSEMBLER |
if (FLAG_print_builtin_code) { |
PrintF("Builtin: %s\n", functions[i].s_name); |
- code->Print(); |
+ Code::cast(code)->Disassemble(functions[i].s_name); |
PrintF("\n"); |
} |
#endif |