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

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

Issue 17380: Change inlined smi binary operations to use an unspilled frame. (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
« src/codegen-ia32.cc ('K') | « src/virtual-frame-ia32.h ('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 1083)
+++ src/virtual-frame-ia32.cc (working copy)
@@ -850,10 +850,13 @@
}
-void VirtualFrame::CallStub(CodeStub* stub, int frame_arg_count) {
+Result VirtualFrame::CallStub(CodeStub* stub, int frame_arg_count) {
ASSERT(cgen_->HasValidEntryRegisters());
PrepareForCall(frame_arg_count);
__ CallStub(stub);
+ Result result = cgen_->allocator()->Allocate(eax);
+ ASSERT(result.is_valid());
+ return result;
}
@@ -861,10 +864,7 @@
Result* arg,
int frame_arg_count) {
arg->Unuse();
- CallStub(stub, frame_arg_count);
- Result result = cgen_->allocator()->Allocate(eax);
- ASSERT(result.is_valid());
- return result;
+ return CallStub(stub, frame_arg_count);
}
@@ -874,10 +874,7 @@
int frame_arg_count) {
arg0->Unuse();
arg1->Unuse();
- CallStub(stub, frame_arg_count);
- Result result = cgen_->allocator()->Allocate(eax);
- ASSERT(result.is_valid());
- return result;
+ return CallStub(stub, frame_arg_count);
}
« src/codegen-ia32.cc ('K') | « src/virtual-frame-ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698