Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index ff487720bc891e8d2d2b1981bb4f68362e8ac42e..ca30e19cb4d2d1544cb2d1778a80af7d1e997e14 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -492,7 +492,8 @@ void RelocInfo::Print(FILE* out) { |
target_address()); |
} else if (IsPosition(rmode_)) { |
PrintF(out, " (%" V8_PTR_PREFIX "d)", data()); |
- } else if (rmode_ == RelocInfo::RUNTIME_ENTRY) { |
+ } else if (rmode_ == RelocInfo::RUNTIME_ENTRY && |
+ Isolate::Current()->deoptimizer_data() != NULL) { |
// Depotimization bailouts are stored as runtime entries. |
int id = Deoptimizer::GetDeoptimizationId( |
target_address(), Deoptimizer::EAGER); |