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

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

Issue 14991010: Make breakpoints on == fire reliably (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 public: 2431 public:
2432 enum Kind { 2432 enum Kind {
2433 kDeopt, // Deoptimization continuation point. 2433 kDeopt, // Deoptimization continuation point.
2434 kEntryPatch, // Location where to patch entry. 2434 kEntryPatch, // Location where to patch entry.
2435 kPatchCode, // Buffer for patching code entry. 2435 kPatchCode, // Buffer for patching code entry.
2436 kLazyDeoptJump, // Lazy deoptimization trampoline. 2436 kLazyDeoptJump, // Lazy deoptimization trampoline.
2437 kIcCall, // IC call. 2437 kIcCall, // IC call.
2438 kFuncCall, // Call to known target, e.g. static call. 2438 kFuncCall, // Call to known target, e.g. static call.
2439 kClosureCall, // Closure call. 2439 kClosureCall, // Closure call.
2440 kReturn, // Return from function. 2440 kReturn, // Return from function.
2441 kEqualNull, // Stub for comparison with null.
2441 kOther 2442 kOther
2442 }; 2443 };
2443 2444
2444 intptr_t Length() const; 2445 intptr_t Length() const;
2445 2446
2446 uword PC(intptr_t index) const; 2447 uword PC(intptr_t index) const;
2447 PcDescriptors::Kind DescriptorKind(intptr_t index) const; 2448 PcDescriptors::Kind DescriptorKind(intptr_t index) const;
2448 const char* KindAsStr(intptr_t index) const; 2449 const char* KindAsStr(intptr_t index) const;
2449 intptr_t DeoptId(intptr_t index) const; 2450 intptr_t DeoptId(intptr_t index) const;
2450 intptr_t TokenPos(intptr_t index) const; 2451 intptr_t TokenPos(intptr_t index) const;
(...skipping 3313 matching lines...) Expand 10 before | Expand all | Expand 10 after
5764 5765
5765 5766
5766 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 5767 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
5767 intptr_t index) { 5768 intptr_t index) {
5768 return array.At((index * kEntryLength) + kTargetFunctionIndex); 5769 return array.At((index * kEntryLength) + kTargetFunctionIndex);
5769 } 5770 }
5770 5771
5771 } // namespace dart 5772 } // namespace dart
5772 5773
5773 #endif // VM_OBJECT_H_ 5774 #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