| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 26326)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -3693,6 +3693,11 @@
|
| // function.
|
| bool IsCallable(Function* function, Context* context) const;
|
|
|
| + // Evaluate the given expression as if it appeared in an instance
|
| + // method of this instance and return the resulting value, or an
|
| + // error object if evaluating the expression fails.
|
| + RawObject* Evaluate(const String& expr) const;
|
| +
|
| static intptr_t InstanceSize() {
|
| return RoundedAllocationSize(sizeof(RawInstance));
|
| }
|
|
|