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

Side by Side Diff: runtime/vm/intrinsifier_arm.cc

Issue 1739593002: Revert "Move precompilation-related flags to flags list." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/intrinsifier_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) 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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/intrinsifier.h" 8 #include "vm/intrinsifier.h"
9 9
10 #include "vm/assembler.h" 10 #include "vm/assembler.h"
11 #include "vm/cpu.h" 11 #include "vm/cpu.h"
12 #include "vm/dart_entry.h" 12 #include "vm/dart_entry.h"
13 #include "vm/flow_graph_compiler.h" 13 #include "vm/flow_graph_compiler.h"
14 #include "vm/object.h" 14 #include "vm/object.h"
15 #include "vm/object_store.h" 15 #include "vm/object_store.h"
16 #include "vm/regexp_assembler.h" 16 #include "vm/regexp_assembler.h"
17 #include "vm/symbols.h" 17 #include "vm/symbols.h"
18 18
19 namespace dart { 19 namespace dart {
20 20
21 DECLARE_FLAG(bool, interpret_irregexp);
22
21 // When entering intrinsics code: 23 // When entering intrinsics code:
22 // R4: Arguments descriptor 24 // R4: Arguments descriptor
23 // LR: Return address 25 // LR: Return address
24 // The R4 register can be destroyed only if there is no slow-path, i.e. 26 // The R4 register can be destroyed only if there is no slow-path, i.e.
25 // if the intrinsified method always executes a return. 27 // if the intrinsified method always executes a return.
26 // The FP register should not be modified, because it is used by the profiler. 28 // The FP register should not be modified, because it is used by the profiler.
27 // The PP and THR registers (see constants_arm.h) must be preserved. 29 // The PP and THR registers (see constants_arm.h) must be preserved.
28 30
29 #define __ assembler-> 31 #define __ assembler->
30 32
(...skipping 2089 matching lines...) Expand 10 before | Expand all | Expand 10 after
2120 2122
2121 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) { 2123 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) {
2122 __ LoadIsolate(R0); 2124 __ LoadIsolate(R0);
2123 __ ldr(R0, Address(R0, Isolate::current_tag_offset())); 2125 __ ldr(R0, Address(R0, Isolate::current_tag_offset()));
2124 __ Ret(); 2126 __ Ret();
2125 } 2127 }
2126 2128
2127 } // namespace dart 2129 } // namespace dart
2128 2130
2129 #endif // defined TARGET_ARCH_ARM 2131 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/intrinsifier_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698