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_; |