Always print the deoptimization data when disassembling the generated code

R=jkummerow@chromium.org

BUG=none
TEST=none

Review URL: http://codereview.chromium.org//7003093

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
sgjesse@chromium.org 2011-06-14 09:10:39 +00:00
parent 0135acd8e8
commit 906fc4cd01

View File

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