| Index: runtime/vm/ast.h
|
| ===================================================================
|
| --- runtime/vm/ast.h (revision 25822)
|
| +++ runtime/vm/ast.h (working copy)
|
| @@ -1517,11 +1517,13 @@
|
| NativeBodyNode(intptr_t token_pos,
|
| const Function& function,
|
| const String& native_c_function_name,
|
| - NativeFunction native_c_function)
|
| + NativeFunction native_c_function,
|
| + bool is_bootstrap_native)
|
| : AstNode(token_pos),
|
| function_(function),
|
| native_c_function_name_(native_c_function_name),
|
| - native_c_function_(native_c_function) {
|
| + native_c_function_(native_c_function),
|
| + is_bootstrap_native_(is_bootstrap_native) {
|
| ASSERT(function_.IsZoneHandle());
|
| ASSERT(native_c_function_ != NULL);
|
| ASSERT(native_c_function_name_.IsZoneHandle());
|
| @@ -1533,6 +1535,7 @@
|
| return native_c_function_name_;
|
| }
|
| NativeFunction native_c_function() const { return native_c_function_; }
|
| + bool is_bootstrap_native() const { return is_bootstrap_native_; }
|
|
|
| virtual void VisitChildren(AstNodeVisitor* visitor) const { }
|
|
|
| @@ -1542,6 +1545,7 @@
|
| const Function& function_; // Native Dart function.
|
| const String& native_c_function_name_;
|
| NativeFunction native_c_function_; // Actual non-Dart implementation.
|
| + const bool is_bootstrap_native_; // Is a bootstrap native method.
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(NativeBodyNode);
|
| };
|
|
|