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

Unified Diff: vm/disassembler_ia32.cc

Issue 10375059: Use a reserved stack local variable to store the Code object so that it can be looked up easily whe… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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
Index: vm/disassembler_ia32.cc
===================================================================
--- vm/disassembler_ia32.cc (revision 7576)
+++ vm/disassembler_ia32.cc (working copy)
@@ -428,8 +428,7 @@
Print("]");
} else {
// Print only if jumping to entry point.
- const Code& code = Code::Handle(
- StackFrame::LookupCode(Isolate::Current(), addr));
+ const Code& code = Code::Handle(Code::LookupCode(addr));
if (!code.IsNull() && (code.EntryPoint() == addr)) {
const Function& function = Function::Handle(code.function());
const char* name_of_function = function.ToFullyQualifiedCString();

Powered by Google App Engine
This is Rietveld 408576698