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

Unified Diff: src/virtual-frame-ia32.cc

Issue 16450: Use unspilled virtual frames when compiling compare operations.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 12 years 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
« src/jump-target-ia32.cc ('K') | « src/jump-target-ia32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/virtual-frame-ia32.cc
===================================================================
--- src/virtual-frame-ia32.cc (revision 1019)
+++ src/virtual-frame-ia32.cc (working copy)
@@ -132,6 +132,7 @@
void VirtualFrame::Spill(Register target) {
+ if (!frame_registers_.is_used(target.code())) return;
Kevin Millikin (Chromium) 2008/12/29 09:05:38 Use the overloaded version of is_used that takes a
for (int i = 0; i < elements_.length(); i++) {
if (elements_[i].is_register() && elements_[i].reg().is(target)) {
SpillElementAt(i);
« src/jump-target-ia32.cc ('K') | « src/jump-target-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698