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

Unified Diff: src/virtual-frame.cc

Issue 92009: When merging a frame to an expected on at block entry, the static type... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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
« no previous file with comments | « no previous file | src/virtual-frame-ia32.cc » ('j') | test/mjsunit/regress/regress-318.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/virtual-frame.cc
===================================================================
--- src/virtual-frame.cc (revision 1765)
+++ src/virtual-frame.cc (working copy)
@@ -297,6 +297,10 @@
if (elements_[i].is_copy()) {
elements_[elements_[i].index()].set_copied();
}
+
+ // No code needs to be generated to change the static type of an
+ // element.
+ elements_[i].set_static_type(target.static_type());
}
}
« no previous file with comments | « no previous file | src/virtual-frame-ia32.cc » ('j') | test/mjsunit/regress/regress-318.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698