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

Unified Diff: src/codegen-arm.cc

Issue 42067: Fix issue 268 by explicitly calling Unuse (to deallocate all contained... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 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 | « src/codegen-arm.h ('k') | src/codegen-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codegen-arm.cc
===================================================================
--- src/codegen-arm.cc (revision 1482)
+++ src/codegen-arm.cc (working copy)
@@ -284,7 +284,11 @@
DeleteFrame();
// Process any deferred code using the register allocator.
- ProcessDeferred();
+ if (HasStackOverflow()) {
+ ClearDeferred();
+ } else {
+ ProcessDeferred();
+ }
allocator_ = NULL;
scope_ = NULL;
@@ -1133,6 +1137,7 @@
if (node->break_target()->is_linked()) {
node->break_target()->Bind();
}
+ node->break_target()->Unuse();
ASSERT(!has_valid_frame() || frame_->height() == original_height);
}
@@ -1594,6 +1599,7 @@
if (node->break_target()->is_linked()) {
node->break_target()->Bind();
}
+ node->break_target()->Unuse();
ASSERT(!has_valid_frame() || frame_->height() == original_height);
}
@@ -1781,6 +1787,8 @@
if (node->break_target()->is_linked()) {
node->break_target()->Bind();
}
+ node->continue_target()->Unuse();
+ node->break_target()->Unuse();
ASSERT(!has_valid_frame() || frame_->height() == original_height);
}
@@ -1971,6 +1979,8 @@
// Exit.
exit.Bind();
+ node->continue_target()->Unuse();
+ node->break_target()->Unuse();
ASSERT(frame_->height() == original_height);
}
« no previous file with comments | « src/codegen-arm.h ('k') | src/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698