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

Unified Diff: vm/debugger.cc

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

Powered by Google App Engine
This is Rietveld 408576698