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

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

Issue 1731743003: Move precompilation-related flags to flags list. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: make print_stop_message default false to fix build 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/intrinsifier_ia32.cc ('k') | runtime/vm/intrinsifier_x64.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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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/dart_entry.h" 11 #include "vm/dart_entry.h"
12 #include "vm/flow_graph_compiler.h" 12 #include "vm/flow_graph_compiler.h"
13 #include "vm/object.h" 13 #include "vm/object.h"
14 #include "vm/object_store.h" 14 #include "vm/object_store.h"
15 #include "vm/regexp_assembler.h" 15 #include "vm/regexp_assembler.h"
16 #include "vm/symbols.h" 16 #include "vm/symbols.h"
17 17
18 namespace dart { 18 namespace dart {
19 19
20 DECLARE_FLAG(bool, interpret_irregexp);
21
22 // When entering intrinsics code: 20 // When entering intrinsics code:
23 // S4: Arguments descriptor 21 // S4: Arguments descriptor
24 // RA: Return address 22 // RA: Return address
25 // The S4 register can be destroyed only if there is no slow-path, i.e. 23 // The S4 register can be destroyed only if there is no slow-path, i.e.
26 // if the intrinsified method always executes a return. 24 // if the intrinsified method always executes a return.
27 // The FP register should not be modified, because it is used by the profiler. 25 // The FP register should not be modified, because it is used by the profiler.
28 // The PP and THR registers (see constants_mips.h) must be preserved. 26 // The PP and THR registers (see constants_mips.h) must be preserved.
29 27
30 #define __ assembler-> 28 #define __ assembler->
31 29
(...skipping 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 2228
2231 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) { 2229 void Intrinsifier::Profiler_getCurrentTag(Assembler* assembler) {
2232 __ LoadIsolate(V0); 2230 __ LoadIsolate(V0);
2233 __ Ret(); 2231 __ Ret();
2234 __ delay_slot()->lw(V0, Address(V0, Isolate::current_tag_offset())); 2232 __ delay_slot()->lw(V0, Address(V0, Isolate::current_tag_offset()));
2235 } 2233 }
2236 2234
2237 } // namespace dart 2235 } // namespace dart
2238 2236
2239 #endif // defined TARGET_ARCH_MIPS 2237 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/intrinsifier_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698