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

Side by Side Diff: runtime/vm/object.h

Issue 1440753002: Include field reference with implicit getter / setter functions (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 2180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2191 return OFFSET_OF(RawFunction, entry_point_); 2191 return OFFSET_OF(RawFunction, entry_point_);
2192 } 2192 }
2193 2193
2194 // Returns true if there is at least one debugger breakpoint 2194 // Returns true if there is at least one debugger breakpoint
2195 // set in this function. 2195 // set in this function.
2196 bool HasBreakpoint() const; 2196 bool HasBreakpoint() const;
2197 2197
2198 RawContextScope* context_scope() const; 2198 RawContextScope* context_scope() const;
2199 void set_context_scope(const ContextScope& value) const; 2199 void set_context_scope(const ContextScope& value) const;
2200 2200
2201 RawField* LookupImplicitGetterSetterField() const;
2202
2201 // Enclosing function of this local function. 2203 // Enclosing function of this local function.
2202 RawFunction* parent_function() const; 2204 RawFunction* parent_function() const;
2203 2205
2204 // Signature class of this closure function or signature function. 2206 // Signature class of this closure function or signature function.
2205 RawClass* signature_class() const; 2207 RawClass* signature_class() const;
2206 void set_signature_class(const Class& value) const; 2208 void set_signature_class(const Class& value) const;
2207 2209
2208 void set_extracted_method_closure(const Function& function) const; 2210 void set_extracted_method_closure(const Function& function) const;
2209 RawFunction* extracted_method_closure() const; 2211 RawFunction* extracted_method_closure() const;
2210 2212
(...skipping 5998 matching lines...) Expand 10 before | Expand all | Expand 10 after
8209 8211
8210 8212
8211 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8213 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8212 intptr_t index) { 8214 intptr_t index) {
8213 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8215 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8214 } 8216 }
8215 8217
8216 } // namespace dart 8218 } // namespace dart
8217 8219
8218 #endif // VM_OBJECT_H_ 8220 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/implicit_getter_setter_test.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698