Revision: 8465
Author: [email protected]
Date: Wed Jun 29 06:17:02 2011
Log: Fix compilation of all combinations of disassembler=on/off and
objectprint=on/off
[email protected]
BUG=v8:1473
TEST=none
Review URL: http://codereview.chromium.org//7269002
http://code.google.com/p/v8/source/detail?r=8465
Modified:
/branches/bleeding_edge/src/objects.cc
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects.cc Wed Jun 29 06:02:00 2011
+++ /branches/bleeding_edge/src/objects.cc Wed Jun 29 06:17:02 2011
@@ -6950,7 +6950,7 @@
}
-#if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER)
+#ifdef ENABLE_DISASSEMBLER
void DeoptimizationInputData::DeoptimizationInputDataPrint(FILE* out) {
disasm::NameConverter converter;
@@ -7098,10 +7098,6 @@
}
}
-#endif // defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER)
-
-
-#ifdef ENABLE_DISASSEMBLER
// Identify kind of code.
const char* Code::Kind2String(Kind kind) {
=======================================
--- /branches/bleeding_edge/src/objects.h Thu Jun 23 02:30:39 2011
+++ /branches/bleeding_edge/src/objects.h Wed Jun 29 06:17:02 2011
@@ -3418,7 +3418,7 @@
// Casting.
static inline DeoptimizationInputData* cast(Object* obj);
-#if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER)
+#ifdef ENABLE_DISASSEMBLER
void DeoptimizationInputDataPrint(FILE* out);
#endif
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev