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

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

Issue 257793005: Fix SIMARM64 to compile on Mac, fix compilation because of ICData change. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/code_generator.cc ('k') | runtime/vm/simulator_arm64.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 3453 matching lines...) Expand 10 before | Expand all | Expand 10 after
3464 kSCallTableCodeEntry = 2, 3464 kSCallTableCodeEntry = 2,
3465 kSCallTableEntryLength = 3, 3465 kSCallTableEntryLength = 3,
3466 }; 3466 };
3467 3467
3468 void set_static_calls_target_table(const Array& value) const; 3468 void set_static_calls_target_table(const Array& value) const;
3469 RawArray* static_calls_target_table() const { 3469 RawArray* static_calls_target_table() const {
3470 return raw_ptr()->static_calls_target_table_; 3470 return raw_ptr()->static_calls_target_table_;
3471 } 3471 }
3472 3472
3473 RawDeoptInfo* GetDeoptInfoAtPc( 3473 RawDeoptInfo* GetDeoptInfoAtPc(
3474 uword pc, ICData::ICData::DeoptReasonId* deopt_reason) const; 3474 uword pc, ICData::DeoptReasonId* deopt_reason) const;
3475 3475
3476 // Returns null if there is no static call at 'pc'. 3476 // Returns null if there is no static call at 'pc'.
3477 RawFunction* GetStaticCallTargetFunctionAt(uword pc) const; 3477 RawFunction* GetStaticCallTargetFunctionAt(uword pc) const;
3478 // Returns null if there is no static call at 'pc'. 3478 // Returns null if there is no static call at 'pc'.
3479 RawCode* GetStaticCallTargetCodeAt(uword pc) const; 3479 RawCode* GetStaticCallTargetCodeAt(uword pc) const;
3480 // Aborts if there is no static call at 'pc'. 3480 // Aborts if there is no static call at 'pc'.
3481 void SetStaticCallTargetCodeAt(uword pc, const Code& code) const; 3481 void SetStaticCallTargetCodeAt(uword pc, const Code& code) const;
3482 3482
3483 void Disassemble(DisassemblyFormatter* formatter = NULL) const; 3483 void Disassemble(DisassemblyFormatter* formatter = NULL) const;
3484 3484
(...skipping 3485 matching lines...) Expand 10 before | Expand all | Expand 10 after
6970 6970
6971 6971
6972 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6972 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6973 intptr_t index) { 6973 intptr_t index) {
6974 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6974 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6975 } 6975 }
6976 6976
6977 } // namespace dart 6977 } // namespace dart
6978 6978
6979 #endif // VM_OBJECT_H_ 6979 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698