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

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

Issue 1195573006: Handle field-invocation and method-extraction in the runtime when --lazy_dispatchers=false. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months 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
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2172 matching lines...) Expand 10 before | Expand all | Expand 10 after
2183 } 2183 }
2184 2184
2185 // Return the closure function implicitly created for this function. 2185 // Return the closure function implicitly created for this function.
2186 // If none exists yet, create one and remember it. 2186 // If none exists yet, create one and remember it.
2187 RawFunction* ImplicitClosureFunction() const; 2187 RawFunction* ImplicitClosureFunction() const;
2188 2188
2189 // Return the closure implicitly created for this function. 2189 // Return the closure implicitly created for this function.
2190 // If none exists yet, create one and remember it. 2190 // If none exists yet, create one and remember it.
2191 RawInstance* ImplicitStaticClosure() const; 2191 RawInstance* ImplicitStaticClosure() const;
2192 2192
2193 RawInstance* ImplicitInstanceClosure(const Instance& receiver) const;
2194
2193 // Redirection information for a redirecting factory. 2195 // Redirection information for a redirecting factory.
2194 bool IsRedirectingFactory() const; 2196 bool IsRedirectingFactory() const;
2195 RawType* RedirectionType() const; 2197 RawType* RedirectionType() const;
2196 void SetRedirectionType(const Type& type) const; 2198 void SetRedirectionType(const Type& type) const;
2197 RawString* RedirectionIdentifier() const; 2199 RawString* RedirectionIdentifier() const;
2198 void SetRedirectionIdentifier(const String& identifier) const; 2200 void SetRedirectionIdentifier(const String& identifier) const;
2199 RawFunction* RedirectionTarget() const; 2201 RawFunction* RedirectionTarget() const;
2200 void SetRedirectionTarget(const Function& target) const; 2202 void SetRedirectionTarget(const Function& target) const;
2201 2203
2202 RawFunction::Kind kind() const { 2204 RawFunction::Kind kind() const {
(...skipping 5780 matching lines...) Expand 10 before | Expand all | Expand 10 after
7983 7985
7984 7986
7985 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 7987 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
7986 intptr_t index) { 7988 intptr_t index) {
7987 return array.At((index * kEntryLength) + kTargetFunctionIndex); 7989 return array.At((index * kEntryLength) + kTargetFunctionIndex);
7988 } 7990 }
7989 7991
7990 } // namespace dart 7992 } // namespace dart
7991 7993
7992 #endif // VM_OBJECT_H_ 7994 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698