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

Side by Side Diff: runtime/vm/assembler_arm.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
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/flow_graph_compiler_arm.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ARM_H_ 5 #ifndef VM_ASSEMBLER_ARM_H_
6 #define VM_ASSEMBLER_ARM_H_ 6 #define VM_ASSEMBLER_ARM_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm.h directly; use assembler.h instead. 9 #error Do not include assembler_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 bool is_external, 931 bool is_external,
932 intptr_t cid, 932 intptr_t cid,
933 intptr_t index_scale, 933 intptr_t index_scale,
934 Register array, 934 Register array,
935 Register index); 935 Register index);
936 936
937 // If allocation tracing for |cid| is enabled, will jump to |trace| label, 937 // If allocation tracing for |cid| is enabled, will jump to |trace| label,
938 // which will allocate in the runtime where tracing occurs. 938 // which will allocate in the runtime where tracing occurs.
939 void MaybeTraceAllocation(intptr_t cid, 939 void MaybeTraceAllocation(intptr_t cid,
940 Register temp_reg, 940 Register temp_reg,
941 Label* trace); 941 Label* trace,
942 bool inline_isolate = true);
942 943
943 // Inlined allocation of an instance of class 'cls', code has no runtime 944 // Inlined allocation of an instance of class 'cls', code has no runtime
944 // calls. Jump to 'failure' if the instance cannot be allocated here. 945 // calls. Jump to 'failure' if the instance cannot be allocated here.
945 // Allocated instance is returned in 'instance_reg'. 946 // Allocated instance is returned in 'instance_reg'.
946 // Only the tags field of the object is initialized. 947 // Only the tags field of the object is initialized.
947 void TryAllocate(const Class& cls, 948 void TryAllocate(const Class& cls,
948 Label* failure, 949 Label* failure,
949 Register instance_reg, 950 Register instance_reg,
950 Register temp_reg); 951 Register temp_reg);
951 952
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 Register new_value, 1141 Register new_value,
1141 FieldContent old_content); 1142 FieldContent old_content);
1142 1143
1143 DISALLOW_ALLOCATION(); 1144 DISALLOW_ALLOCATION();
1144 DISALLOW_COPY_AND_ASSIGN(Assembler); 1145 DISALLOW_COPY_AND_ASSIGN(Assembler);
1145 }; 1146 };
1146 1147
1147 } // namespace dart 1148 } // namespace dart
1148 1149
1149 #endif // VM_ASSEMBLER_ARM_H_ 1150 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/flow_graph_compiler_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698