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

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

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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 | « runtime/vm/intrinsifier_arm64.cc ('k') | runtime/vm/intrinsifier_ia32.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_DBC. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_DBC.
6 #if defined(TARGET_ARCH_DBC) 6 #if defined(TARGET_ARCH_DBC)
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/simulator.h"
17 #include "vm/symbols.h" 18 #include "vm/symbols.h"
18 #include "vm/simulator.h"
19 19
20 namespace dart { 20 namespace dart {
21 21
22 DECLARE_FLAG(bool, interpret_irregexp); 22 DECLARE_FLAG(bool, interpret_irregexp);
23 23
24 intptr_t Intrinsifier::ParameterSlotFromSp() { 24 intptr_t Intrinsifier::ParameterSlotFromSp() {
25 return -1; 25 return -1;
26 } 26 }
27 27
28 #define DEFINE_FUNCTION(class_name, test_function_name, enum_name, type, fp) \ 28 #define DEFINE_FUNCTION(class_name, test_function_name, enum_name, type, fp) \
29 void Intrinsifier::enum_name(Assembler* assembler) { \ 29 void Intrinsifier::enum_name(Assembler* assembler) { \
30 if (Simulator::IsSupportedIntrinsic(Simulator::k##enum_name##Intrinsic)) { \ 30 if (Simulator::IsSupportedIntrinsic(Simulator::k##enum_name##Intrinsic)) { \
31 assembler->Intrinsic(Simulator::k##enum_name##Intrinsic); \ 31 assembler->Intrinsic(Simulator::k##enum_name##Intrinsic); \
32 } \ 32 } \
33 } 33 }
34 34
35 ALL_INTRINSICS_LIST(DEFINE_FUNCTION) 35 ALL_INTRINSICS_LIST(DEFINE_FUNCTION)
36 GRAPH_INTRINSICS_LIST(DEFINE_FUNCTION) 36 GRAPH_INTRINSICS_LIST(DEFINE_FUNCTION)
37 #undef DEFINE_FUNCTION 37 #undef DEFINE_FUNCTION
38 38
39 } // namespace dart 39 } // namespace dart
40 40
41 #endif // defined TARGET_ARCH_DBC 41 #endif // defined TARGET_ARCH_DBC
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_arm64.cc ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698