Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Unified Diff: src/disassembler.cc

Issue 13811014: Fix OSR for nested loops. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/disassembler.cc
diff --git a/src/disassembler.cc b/src/disassembler.cc
index f168f84ae7e2fee2647cbb801bfc8481421a08ac..0d1bdb401a8202ee72a5c0939888e7fc62774dc9 100644
--- a/src/disassembler.cc
+++ b/src/disassembler.cc
@@ -340,7 +340,7 @@ void Disassembler::Decode(FILE* f, Code* code) {
// 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_offset()));
+ Min(decode_size, static_cast<int>(code->back_edge_table_offset()));
}
byte* begin = code->instruction_start();

Powered by Google App Engine
This is Rietveld 408576698