| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 139aab3b8b45e1f526f8a0032e665860fe6e3920..a4b317face28bc65fc047220c7057a8f5fce703a 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -2632,6 +2632,20 @@ class Function : public Object {
|
| #endif
|
| }
|
|
|
| + void* kernel_function() const {
|
| +#if defined(DART_PRECOMPILED_RUNTIME)
|
| + return NULL;
|
| +#else
|
| + return raw_ptr()->kernel_function_;
|
| +#endif
|
| + }
|
| +
|
| + void set_kernel_function(void* kernel_function) const {
|
| +#if !defined(DART_PRECOMPILED_RUNTIME)
|
| + StoreNonPointer(&raw_ptr()->kernel_function_, kernel_function);
|
| +#endif
|
| + }
|
| +
|
| bool IsOptimizable() const;
|
| bool IsNativeAutoSetupScope() const;
|
| void SetIsOptimizable(bool value) const;
|
| @@ -3152,6 +3166,21 @@ class Field : public Object {
|
| set_kind_bits(DoubleInitializedBit::update(value, raw_ptr()->kind_bits_));
|
| }
|
|
|
| + void* kernel_field() const {
|
| +#if defined(DART_PRECOMPILED_RUNTIME)
|
| + return NULL;
|
| +#else
|
| + return raw_ptr()->kernel_field_;
|
| +#endif
|
| + }
|
| +
|
| + void set_kernel_field(void* kernel_field) const {
|
| +#if !defined(DART_PRECOMPILED_RUNTIME)
|
| + StoreNonPointer(&raw_ptr()->kernel_field_, kernel_field);
|
| +#endif
|
| + }
|
| +
|
| +
|
| inline intptr_t Offset() const;
|
| // Called during class finalization.
|
| inline void SetOffset(intptr_t offset_in_bytes) const;
|
|
|