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

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

Issue 183683013: Change deoptimization description for materialized objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | no next file » | 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 4026 matching lines...) Expand 10 before | Expand all | Expand 10 after
4037 return sizeof(RawInstance); 4037 return sizeof(RawInstance);
4038 } 4038 }
4039 4039
4040 // TODO(iposva): Determine if this gets in the way of Smi. 4040 // TODO(iposva): Determine if this gets in the way of Smi.
4041 HEAP_OBJECT_IMPLEMENTATION(Instance, Object); 4041 HEAP_OBJECT_IMPLEMENTATION(Instance, Object);
4042 friend class Class; 4042 friend class Class;
4043 friend class Closure; 4043 friend class Closure;
4044 friend class SnapshotWriter; 4044 friend class SnapshotWriter;
4045 friend class StubCode; 4045 friend class StubCode;
4046 friend class TypedDataView; 4046 friend class TypedDataView;
4047 friend class DeferredObject;
4047 }; 4048 };
4048 4049
4049 4050
4050 // AbstractType is an abstract superclass. 4051 // AbstractType is an abstract superclass.
4051 // Subclasses of AbstractType are Type and TypeParameter. 4052 // Subclasses of AbstractType are Type and TypeParameter.
4052 class AbstractType : public Instance { 4053 class AbstractType : public Instance {
4053 public: 4054 public:
4054 virtual bool IsFinalized() const; 4055 virtual bool IsFinalized() const;
4055 virtual bool IsBeingFinalized() const; 4056 virtual bool IsBeingFinalized() const;
4056 virtual bool IsMalformed() const; 4057 virtual bool IsMalformed() const;
(...skipping 2591 matching lines...) Expand 10 before | Expand all | Expand 10 after
6648 6649
6649 6650
6650 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6651 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6651 intptr_t index) { 6652 intptr_t index) {
6652 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6653 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6653 } 6654 }
6654 6655
6655 } // namespace dart 6656 } // namespace dart
6656 6657
6657 #endif // VM_OBJECT_H_ 6658 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698