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

Unified Diff: src/codegen.cc

Issue 18362: Experimental: statically distinguish between named basic block entries... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 11 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
« no previous file with comments | « no previous file | src/codegen-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codegen.cc
===================================================================
--- src/codegen.cc (revision 1104)
+++ src/codegen.cc (working copy)
@@ -41,7 +41,7 @@
: masm_(generator->masm()),
generator_(generator),
enter_(generator),
- exit_(generator),
+ exit_(generator, JumpTarget::BIDIRECTIONAL),
statement_position_(masm_->current_statement_position()),
position_(masm_->current_position()) {
generator->AddDeferred(this);
@@ -385,7 +385,7 @@
// JumpTarget per switch case.
SmartPointer<JumpTarget> case_labels(NewArray<JumpTarget>(length));
for (int i = 0; i < length; i++) {
- case_labels[i].set_code_generator(this);
+ case_labels[i].Initialize(this);
}
JumpTarget* fail_label = default_index >= 0 ? &(case_labels[default_index])
« no previous file with comments | « no previous file | src/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698