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

Unified Diff: runtime/vm/debugger_mips.cc

Issue 695483003: Remove saving/restoring of the context at function entry. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 | « runtime/vm/debugger_ia32.cc ('k') | runtime/vm/debugger_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_mips.cc
===================================================================
--- runtime/vm/debugger_mips.cc (revision 41422)
+++ runtime/vm/debugger_mips.cc (working copy)
@@ -13,26 +13,6 @@
namespace dart {
-RawInstance* ActivationFrame::GetInstanceCallReceiver(
- intptr_t num_actual_args) {
- ASSERT(num_actual_args > 0); // At minimum we have a receiver on the stack.
- // Stack pointer points to last argument that was pushed on the stack.
- uword receiver_addr = sp() + ((num_actual_args - 1) * kWordSize);
- return reinterpret_cast<RawInstance*>(
- *reinterpret_cast<uword*>(receiver_addr));
-}
-
-
-RawObject* ActivationFrame::GetClosureObject(intptr_t num_actual_args) {
- // At a minimum we have the closure object on the stack.
- ASSERT(num_actual_args > 0);
- // Stack pointer points to last argument that was pushed on the stack.
- uword closure_addr = sp() + ((num_actual_args - 1) * kWordSize);
- return reinterpret_cast<RawObject*>(
- *reinterpret_cast<uword*>(closure_addr));
-}
-
-
uword CodeBreakpoint::OrigStubAddress() const {
return saved_value_;
}
« no previous file with comments | « runtime/vm/debugger_ia32.cc ('k') | runtime/vm/debugger_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698