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

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

Issue 15743019: Consolidate debug stubs (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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_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 2420 matching lines...) Expand 10 before | Expand all | Expand 10 after
2431 2431
2432 public: 2432 public:
2433 enum Kind { 2433 enum Kind {
2434 kDeopt, // Deoptimization continuation point. 2434 kDeopt, // Deoptimization continuation point.
2435 kEntryPatch, // Location where to patch entry. 2435 kEntryPatch, // Location where to patch entry.
2436 kPatchCode, // Buffer for patching code entry. 2436 kPatchCode, // Buffer for patching code entry.
2437 kLazyDeoptJump, // Lazy deoptimization trampoline. 2437 kLazyDeoptJump, // Lazy deoptimization trampoline.
2438 kIcCall, // IC call. 2438 kIcCall, // IC call.
2439 kFuncCall, // Call to known target, e.g. static call. 2439 kFuncCall, // Call to known target, e.g. static call.
2440 kClosureCall, // Closure call. 2440 kClosureCall, // Closure call.
2441 kRuntimeCall, // Runtime call.
2441 kReturn, // Return from function. 2442 kReturn, // Return from function.
2442 kEqualNull, // Stub for comparison with null.
2443 kOther 2443 kOther
2444 }; 2444 };
2445 2445
2446 intptr_t Length() const; 2446 intptr_t Length() const;
2447 2447
2448 uword PC(intptr_t index) const; 2448 uword PC(intptr_t index) const;
2449 PcDescriptors::Kind DescriptorKind(intptr_t index) const; 2449 PcDescriptors::Kind DescriptorKind(intptr_t index) const;
2450 const char* KindAsStr(intptr_t index) const; 2450 const char* KindAsStr(intptr_t index) const;
2451 intptr_t DeoptId(intptr_t index) const; 2451 intptr_t DeoptId(intptr_t index) const;
2452 intptr_t TokenPos(intptr_t index) const; 2452 intptr_t TokenPos(intptr_t index) const;
(...skipping 3313 matching lines...) Expand 10 before | Expand all | Expand 10 after
5766 5766
5767 5767
5768 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 5768 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
5769 intptr_t index) { 5769 intptr_t index) {
5770 return array.At((index * kEntryLength) + kTargetFunctionIndex); 5770 return array.At((index * kEntryLength) + kTargetFunctionIndex);
5771 } 5771 }
5772 5772
5773 } // namespace dart 5773 } // namespace dart
5774 5774
5775 #endif // VM_OBJECT_H_ 5775 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698