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

Unified Diff: vm/debugger.cc

Issue 10025003: Revert change 6302 until the compiler warning is addressed. (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/compiler.cc ('k') | vm/disassembler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/debugger.cc
===================================================================
--- vm/debugger.cc (revision 6302)
+++ vm/debugger.cc (working copy)
@@ -4,6 +4,7 @@
#include "vm/debugger.h"
+#include "vm/code_index_table.h"
#include "vm/code_generator.h"
#include "vm/code_patcher.h"
#include "vm/compiler.h"
@@ -100,9 +101,10 @@
const Function& ActivationFrame::DartFunction() {
if (function_.IsNull()) {
- Isolate* isolate = Isolate::Current();
- ASSERT(isolate != NULL);
- const Code& code = Code::Handle(StackFrame::LookupCode(isolate, pc_));
+ ASSERT(Isolate::Current() != NULL);
+ CodeIndexTable* code_index_table = Isolate::Current()->code_index_table();
+ ASSERT(code_index_table != NULL);
+ const Code& code = Code::Handle(code_index_table->LookupCode(pc_));
function_ = code.function();
}
return function_;
« no previous file with comments | « vm/compiler.cc ('k') | vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698