| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 2726cf558e10e2a03cae875d0a85247fd9680f21..74d33f5470d671918ec1676d300f0e62040ff5ab 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -31,6 +31,7 @@ namespace dart {
|
| // Forward declarations.
|
| namespace kernel {
|
| class Program;
|
| +class TreeNode;
|
| }
|
|
|
| #define DEFINE_FORWARD_DECLARATION(clazz) class clazz;
|
| @@ -3759,9 +3760,14 @@ class Library : public Object {
|
|
|
| void AddClassMetadata(const Class& cls,
|
| const Object& tl_owner,
|
| - TokenPosition token_pos) const;
|
| - void AddFieldMetadata(const Field& field, TokenPosition token_pos) const;
|
| - void AddFunctionMetadata(const Function& func, TokenPosition token_pos) const;
|
| + TokenPosition token_pos,
|
| + kernel::TreeNode* kernel_node = NULL) const;
|
| + void AddFieldMetadata(const Field& field,
|
| + TokenPosition token_pos,
|
| + kernel::TreeNode* kernel_node = NULL) const;
|
| + void AddFunctionMetadata(const Function& func,
|
| + TokenPosition token_pos,
|
| + kernel::TreeNode* kernel_node = NULL) const;
|
| void AddLibraryMetadata(const Object& tl_owner,
|
| TokenPosition token_pos) const;
|
| void AddTypeParameterMetadata(const TypeParameter& param,
|
| @@ -3928,7 +3934,8 @@ class Library : public Object {
|
| RawField* GetMetadataField(const String& metaname) const;
|
| void AddMetadata(const Object& owner,
|
| const String& name,
|
| - TokenPosition token_pos) const;
|
| + TokenPosition token_pos,
|
| + kernel::TreeNode* kernel_node = NULL) const;
|
|
|
| FINAL_HEAP_OBJECT_IMPLEMENTATION(Library, Object);
|
|
|
|
|