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

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

Issue 1580643004: Fix finalization of recursive type graph with bounds (issue 25389). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/flow_graph_compiler_x64.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 5300 matching lines...) Expand 10 before | Expand all | Expand 10 after
5311 void set_type_class(const Object& value) const; 5311 void set_type_class(const Object& value) const;
5312 virtual RawUnresolvedClass* unresolved_class() const; 5312 virtual RawUnresolvedClass* unresolved_class() const;
5313 virtual RawTypeArguments* arguments() const; 5313 virtual RawTypeArguments* arguments() const;
5314 void set_arguments(const TypeArguments& value) const; 5314 void set_arguments(const TypeArguments& value) const;
5315 virtual intptr_t token_pos() const { return raw_ptr()->token_pos_; } 5315 virtual intptr_t token_pos() const { return raw_ptr()->token_pos_; }
5316 virtual bool IsInstantiated(TrailPtr trail = NULL) const; 5316 virtual bool IsInstantiated(TrailPtr trail = NULL) const;
5317 virtual bool IsEquivalent(const Instance& other, TrailPtr trail = NULL) const; 5317 virtual bool IsEquivalent(const Instance& other, TrailPtr trail = NULL) const;
5318 virtual bool IsRecursive() const; 5318 virtual bool IsRecursive() const;
5319 virtual RawAbstractType* InstantiateFrom( 5319 virtual RawAbstractType* InstantiateFrom(
5320 const TypeArguments& instantiator_type_arguments, 5320 const TypeArguments& instantiator_type_arguments,
5321 Error* malformed_error, 5321 Error* bound_error,
5322 TrailPtr trail = NULL, 5322 TrailPtr trail = NULL,
5323 Heap::Space space = Heap::kNew) const; 5323 Heap::Space space = Heap::kNew) const;
5324 virtual RawAbstractType* CloneUnfinalized() const; 5324 virtual RawAbstractType* CloneUnfinalized() const;
5325 virtual RawAbstractType* CloneUninstantiated( 5325 virtual RawAbstractType* CloneUninstantiated(
5326 const Class& new_owner, 5326 const Class& new_owner,
5327 TrailPtr trail = NULL) const; 5327 TrailPtr trail = NULL) const;
5328 virtual RawAbstractType* Canonicalize(TrailPtr trail = NULL) const; 5328 virtual RawAbstractType* Canonicalize(TrailPtr trail = NULL) const;
5329 5329
5330 virtual intptr_t Hash() const; 5330 virtual intptr_t Hash() const;
5331 5331
(...skipping 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after
8243 8243
8244 8244
8245 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8245 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8246 intptr_t index) { 8246 intptr_t index) {
8247 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8247 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8248 } 8248 }
8249 8249
8250 } // namespace dart 8250 } // namespace dart
8251 8251
8252 #endif // VM_OBJECT_H_ 8252 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698