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

Unified Diff: vm/runtime_entry_ia32.cc

Issue 10173008: Simplify representation of stack frames. Remove the special types DartFrame/StubFrame and instead u… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | « vm/runtime_entry_arm.cc ('k') | vm/runtime_entry_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/runtime_entry_ia32.cc
===================================================================
--- vm/runtime_entry_ia32.cc (revision 6919)
+++ vm/runtime_entry_ia32.cc (working copy)
@@ -20,24 +20,12 @@
// ESP : points to the arguments and return value array.
// ECX : address of the runtime function to call.
// EDX : number of arguments to the call.
-void RuntimeEntry::CallFromDart(Assembler* assembler) const {
+void RuntimeEntry::Call(Assembler* assembler) const {
__ movl(ECX, Immediate(GetEntryPoint()));
__ movl(EDX, Immediate(argument_count()));
- __ call(&StubCode::DartCallToRuntimeLabel());
+ __ call(&StubCode::CallToRuntimeLabel());
}
-
-// Generate code to call into the stub which will call the runtime
-// function. Input for the stub is as follows:
-// ESP : points to the arguments and return value array.
-// ECX : address of the runtime function to call.
-// EDX : number of arguments to the call.
-void RuntimeEntry::CallFromStub(Assembler* assembler) const {
- __ movl(ECX, Immediate(GetEntryPoint()));
- __ movl(EDX, Immediate(argument_count()));
- __ call(&StubCode::StubCallToRuntimeLabel());
-}
-
} // namespace dart
#endif // defined TARGET_ARCH_IA32
« no previous file with comments | « vm/runtime_entry_arm.cc ('k') | vm/runtime_entry_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698