Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: src/deoptimizer.cc

Issue 7147014: Fix building in release mode with disassembler=on (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: modify #ifdefs instead of SConstruct Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/deoptimizer.h ('k') | src/objects.h » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 47ee0a89e17ee948f458a0301e62ec29877ad920..e2e8a65e2eaf72d49f99b61d85c40837f13b75e2 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -1107,7 +1107,7 @@ int Translation::NumberOfOperandsFor(Opcode opcode) {
}
-#ifdef OBJECT_PRINT
+#if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER)
const char* Translation::StringFor(Opcode opcode) {
switch (opcode) {
« no previous file with comments | « src/deoptimizer.h ('k') | src/objects.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698