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

Unified Diff: src/jump-target-ia32.cc

Issue 9769: Add state to track the individual elements of the virtual frame.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 12 years, 1 month 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/jump-target-ia32.cc
===================================================================
--- src/jump-target-ia32.cc (revision 722)
+++ src/jump-target-ia32.cc (working copy)
@@ -75,7 +75,7 @@
// The frame at the actual function return will always have height
// zero.
if (code_generator_->IsActualFunctionReturn(this)) {
- expected_frame_->height_ = 0;
+ expected_frame_->Forget(expected_frame_->height());
}
} else {
// No code needs to be emitted to merge to the expected frame at the
@@ -106,7 +106,7 @@
// The frame at the actual function return will always have height
// zero.
if (code_generator_->IsActualFunctionReturn(this)) {
- expected_frame_->height_ = 0;
+ expected_frame_->Forget(expected_frame_->height());
}
} else {
// No code needs to be emitted to merge to the expected frame at the
@@ -136,7 +136,7 @@
expected_frame_ = new VirtualFrame(current_frame);
// Adjust the expected frame's height to account for the return address
// pushed by the call instruction.
- expected_frame_->height_++;
+ expected_frame_->Adjust(1);
__ call(&label_);
@@ -162,7 +162,7 @@
// The frame at the actual function return will always have height
// zero.
if (code_generator_->IsActualFunctionReturn(this)) {
- expected_frame_->height_ = 0;
+ expected_frame_->Forget(expected_frame_->height());
}
} else if (current_frame == NULL) {
code_generator_->set_frame(new VirtualFrame(expected_frame_));

Powered by Google App Engine
This is Rietveld 408576698