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

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

Issue 2463083002: Remove default monomorphic check code from functions and stubs that do not need it. (Closed)
Patch Set: address comment Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 RUNTIME_VM_ASSEMBLER_IA32_H_ 5 #ifndef RUNTIME_VM_ASSEMBLER_IA32_H_
6 #define RUNTIME_VM_ASSEMBLER_IA32_H_ 6 #define RUNTIME_VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef RUNTIME_VM_ASSEMBLER_H_ 8 #ifndef RUNTIME_VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 void Bind(Label* label); 776 void Bind(Label* label);
777 void Jump(Label* label) { jmp(label); } 777 void Jump(Label* label) { jmp(label); }
778 778
779 // Address of code at offset. 779 // Address of code at offset.
780 uword CodeAddress(intptr_t offset) { 780 uword CodeAddress(intptr_t offset) {
781 return buffer_.Address(offset); 781 return buffer_.Address(offset);
782 } 782 }
783 783
784 intptr_t CodeSize() const { return buffer_.Size(); } 784 intptr_t CodeSize() const { return buffer_.Size(); }
785 intptr_t prologue_offset() const { return prologue_offset_; } 785 intptr_t prologue_offset() const { return prologue_offset_; }
786 bool has_single_entry_point() const { return true; }
786 787
787 // Count the fixups that produce a pointer offset, without processing 788 // Count the fixups that produce a pointer offset, without processing
788 // the fixups. 789 // the fixups.
789 intptr_t CountPointerOffsets() const { 790 intptr_t CountPointerOffsets() const {
790 return buffer_.CountPointerOffsets(); 791 return buffer_.CountPointerOffsets();
791 } 792 }
792 const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const { 793 const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const {
793 return buffer_.pointer_offsets(); 794 return buffer_.pointer_offsets();
794 } 795 }
795 796
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 } 1020 }
1020 1021
1021 1022
1022 inline void Assembler::EmitOperandSizeOverride() { 1023 inline void Assembler::EmitOperandSizeOverride() {
1023 EmitUint8(0x66); 1024 EmitUint8(0x66);
1024 } 1025 }
1025 1026
1026 } // namespace dart 1027 } // namespace dart
1027 1028
1028 #endif // RUNTIME_VM_ASSEMBLER_IA32_H_ 1029 #endif // RUNTIME_VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_dbc.h ('k') | runtime/vm/assembler_mips.h » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698