| OLD | NEW |
| 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 4399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4410 kInlIntInliningId = 1, | 4410 kInlIntInliningId = 1, |
| 4411 kInlIntNumEntries = 2, | 4411 kInlIntNumEntries = 2, |
| 4412 }; | 4412 }; |
| 4413 | 4413 |
| 4414 RawArray* GetInlinedIntervals() const; | 4414 RawArray* GetInlinedIntervals() const; |
| 4415 void SetInlinedIntervals(const Array& value) const; | 4415 void SetInlinedIntervals(const Array& value) const; |
| 4416 | 4416 |
| 4417 RawArray* GetInlinedIdToFunction() const; | 4417 RawArray* GetInlinedIdToFunction() const; |
| 4418 void SetInlinedIdToFunction(const Array& value) const; | 4418 void SetInlinedIdToFunction(const Array& value) const; |
| 4419 | 4419 |
| 4420 RawArray* GetInlinedIdToTokenPos() const; |
| 4421 void SetInlinedIdToTokenPos(const Array& value) const; |
| 4422 |
| 4420 RawArray* GetInlinedCallerIdMap() const; | 4423 RawArray* GetInlinedCallerIdMap() const; |
| 4421 void SetInlinedCallerIdMap(const Array& value) const; | 4424 void SetInlinedCallerIdMap(const Array& value) const; |
| 4422 | 4425 |
| 4423 void GetInlinedFunctionsAt( | 4426 void GetInlinedFunctionsAt( |
| 4424 intptr_t offset, GrowableArray<Function*>* fs) const; | 4427 intptr_t offset, GrowableArray<Function*>* fs) const; |
| 4425 | 4428 |
| 4426 void DumpInlinedIntervals() const; | 4429 void DumpInlinedIntervals() const; |
| 4427 | 4430 |
| 4428 RawLocalVarDescriptors* var_descriptors() const { | 4431 RawLocalVarDescriptors* var_descriptors() const { |
| 4429 return raw_ptr()->var_descriptors_; | 4432 return raw_ptr()->var_descriptors_; |
| (...skipping 3982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8412 | 8415 |
| 8413 | 8416 |
| 8414 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 8417 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 8415 intptr_t index) { | 8418 intptr_t index) { |
| 8416 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 8419 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 8417 } | 8420 } |
| 8418 | 8421 |
| 8419 } // namespace dart | 8422 } // namespace dart |
| 8420 | 8423 |
| 8421 #endif // VM_OBJECT_H_ | 8424 #endif // VM_OBJECT_H_ |
| OLD | NEW |