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

Unified Diff: runtime/vm/code_descriptors_test.cc

Issue 868913002: Add Zone-based handle allocation interface and reduce use of Isolate-based interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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: runtime/vm/code_descriptors_test.cc
===================================================================
--- runtime/vm/code_descriptors_test.cc (revision 43075)
+++ runtime/vm/code_descriptors_test.cc (working copy)
@@ -13,6 +13,7 @@
#include "vm/native_entry.h"
#include "vm/parser.h"
#include "vm/symbols.h"
+#include "vm/thread.h"
#include "vm/unit_test.h"
namespace dart {
@@ -22,7 +23,7 @@
CODEGEN_TEST_GENERATE(StackmapCodegen, test) {
ParsedFunction* parsed_function =
- new ParsedFunction(Isolate::Current(), test->function());
+ new ParsedFunction(Thread::Current(), test->function());
LiteralNode* l = new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(1)));
test->node_sequence()->Add(new ReturnNode(kPos, l));
l = new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(2)));

Powered by Google App Engine
This is Rietveld 408576698