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

Unified Diff: vm/unit_test.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/stack_frame_test.cc ('k') | vm/visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/unit_test.cc
===================================================================
--- vm/unit_test.cc (revision 6302)
+++ vm/unit_test.cc (working copy)
@@ -9,6 +9,7 @@
#include "vm/assembler.h"
#include "vm/ast_printer.h"
#include "vm/code_generator.h"
+#include "vm/code_index_table.h"
#include "vm/compiler.h"
#include "vm/dart_api_impl.h"
#include "vm/disassembler.h"
@@ -173,6 +174,9 @@
OS::Print("}\n");
}
function_.SetCode(code);
+ CodeIndexTable* code_index_table = isolate->code_index_table();
+ ASSERT(code_index_table != NULL);
+ code_index_table->AddCode(code);
retval = true;
} else {
retval = false;
« no previous file with comments | « vm/stack_frame_test.cc ('k') | vm/visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698