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

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

Issue 1247783002: Make array allocation stub shared between isolates. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
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 VM_ASSEMBLER_IA32_H_ 5 #ifndef VM_ASSEMBLER_IA32_H_
6 #define VM_ASSEMBLER_IA32_H_ 6 #define VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef 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 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 static const intptr_t kEntryPointToPcMarkerOffset = 8; 869 static const intptr_t kEntryPointToPcMarkerOffset = 8;
870 static intptr_t EntryPointToPcMarkerOffset() { 870 static intptr_t EntryPointToPcMarkerOffset() {
871 return kEntryPointToPcMarkerOffset; 871 return kEntryPointToPcMarkerOffset;
872 } 872 }
873 873
874 // If allocation tracing for |cid| is enabled, will jump to |trace| label, 874 // If allocation tracing for |cid| is enabled, will jump to |trace| label,
875 // which will allocate in the runtime where tracing occurs. 875 // which will allocate in the runtime where tracing occurs.
876 void MaybeTraceAllocation(intptr_t cid, 876 void MaybeTraceAllocation(intptr_t cid,
877 Register temp_reg, 877 Register temp_reg,
878 Label* trace, 878 Label* trace,
879 bool near_jump); 879 bool near_jump,
880 bool inline_isolate = true);
880 881
881 void UpdateAllocationStats(intptr_t cid, 882 void UpdateAllocationStats(intptr_t cid,
882 Register temp_reg, 883 Register temp_reg,
883 Heap::Space space, 884 Heap::Space space,
884 bool inline_isolate = true); 885 bool inline_isolate = true);
885 886
886 void UpdateAllocationStatsWithSize(intptr_t cid, 887 void UpdateAllocationStatsWithSize(intptr_t cid,
887 Register size_reg, 888 Register size_reg,
888 Register temp_reg, 889 Register temp_reg,
889 Heap::Space space, 890 Heap::Space space,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 } 1042 }
1042 1043
1043 1044
1044 inline void Assembler::EmitOperandSizeOverride() { 1045 inline void Assembler::EmitOperandSizeOverride() {
1045 EmitUint8(0x66); 1046 EmitUint8(0x66);
1046 } 1047 }
1047 1048
1048 } // namespace dart 1049 } // namespace dart
1049 1050
1050 #endif // VM_ASSEMBLER_IA32_H_ 1051 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698