Reviewers: jkummerow,

Description:
Always print the deoptimization data when disassembling the generated code

[email protected]

BUG=none
TEST=none


Please review this at http://codereview.chromium.org/7003093/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/objects.cc


Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 610301f119887c9a86c3ec5e945c5da6510d7e09..871913f64da3a1f43ba32d007d52ba4e9b37c809 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -7056,7 +7056,6 @@ void Code::Disassemble(const char* name, FILE* out) {
   Disassembler::Decode(out, this);
   PrintF(out, "\n");

-#ifdef DEBUG
   if (kind() == FUNCTION) {
     DeoptimizationOutputData* data =
         DeoptimizationOutputData::cast(this->deoptimization_data());
@@ -7067,7 +7066,6 @@ void Code::Disassemble(const char* name, FILE* out) {
     data->DeoptimizationInputDataPrint(out);
   }
   PrintF("\n");
-#endif

   if (kind() == OPTIMIZED_FUNCTION) {
     SafepointTable table(this);


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to