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

Unified Diff: runtime/vm/native_entry.h

Issue 8528010: Changes to pass the current isolate to all runtime and native calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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/native_entry.h
===================================================================
--- runtime/vm/native_entry.h (revision 1428)
+++ runtime/vm/native_entry.h (working copy)
@@ -40,8 +40,8 @@
ASSERT(arguments->Count() == argument_count); \
if (FLAG_trace_natives) OS::Print("Calling native: %s\n", ""#name); \
{ \
- Zone zone; \
- HANDLESCOPE(); \
+ Zone zone(arguments->isolate()); \
+ HANDLESCOPE(arguments->isolate()); \
DN_Helper##name(arguments); \
Ivan Posva 2011/11/11 22:07:07 DN_Helper##name(arguments->isolate(), arguments);
siva 2011/11/12 03:01:05 Done.
} \
VERIFY_ON_TRANSITION; \

Powered by Google App Engine
This is Rietveld 408576698