Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index 194a299f020fa99530cd8abb5e1d6824088ec685..243abf079ceded133616181eb9ddb4532edc371d 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -313,12 +313,12 @@ int Disassembler::Decode(FILE* f, byte* begin, byte* end) { |
// Called by Code::CodePrint. |
void Disassembler::Decode(FILE* f, Code* code) { |
int decode_size = (code->kind() == Code::OPTIMIZED_FUNCTION) |
- ? static_cast<int>(code->safepoint_table_start()) |
+ ? static_cast<int>(code->safepoint_table_offset()) |
: code->instruction_size(); |
// If there might be a stack check table, stop before reaching it. |
if (code->kind() == Code::FUNCTION) { |
decode_size = |
- Min(decode_size, static_cast<int>(code->stack_check_table_start())); |
+ Min(decode_size, static_cast<int>(code->stack_check_table_offset())); |
} |
byte* begin = code->instruction_start(); |