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

Unified Diff: runtime/vm/compiler.h

Issue 22909009: Evaluate expression in context of an object (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/compiler.h
===================================================================
--- runtime/vm/compiler.h (revision 26007)
+++ runtime/vm/compiler.h (working copy)
@@ -62,6 +62,9 @@
// on compilation failure.
static RawObject* ExecuteOnce(SequenceNode* fragment);
+ // Evaluate expression in the context of object obj.
+ static RawObject* Evaluate(const Instance& obj, const String& expr);
+
// Eagerly compiles all functions in a class.
//
// Returns Error::null() if there is no compilation error.

Powered by Google App Engine
This is Rietveld 408576698