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

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

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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/regexp_assembler.h ('k') | runtime/vm/regexp_assembler_bytecode.h » ('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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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/regexp_assembler.h" 5 #include "vm/regexp_assembler.h"
6 6
7 #include "vm/flags.h" 7 #include "vm/flags.h"
8 #include "vm/regexp.h" 8 #include "vm/regexp.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 BlockLabel::BlockLabel() 12 BlockLabel::BlockLabel()
13 : block_(NULL), 13 : block_(NULL), is_bound_(false), is_linked_(false), pos_(-1) {
14 is_bound_(false),
15 is_linked_(false),
16 pos_(-1) {
17 if (!FLAG_interpret_irregexp) { 14 if (!FLAG_interpret_irregexp) {
18 // Only needed by the compiled IR backend. 15 // Only needed by the compiled IR backend.
19 block_ = new JoinEntryInstr(-1, -1); 16 block_ = new JoinEntryInstr(-1, -1);
20 } 17 }
21 } 18 }
22 19
23 20
24 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) 21 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone)
25 : slow_safe_compiler_(false), 22 : slow_safe_compiler_(false), global_mode_(NOT_GLOBAL), zone_(zone) {}
26 global_mode_(NOT_GLOBAL),
27 zone_(zone) {
28 }
29 23
30 24
31 RegExpMacroAssembler::~RegExpMacroAssembler() { 25 RegExpMacroAssembler::~RegExpMacroAssembler() {}
32 }
33 26
34 } // namespace dart 27 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/regexp_assembler.h ('k') | runtime/vm/regexp_assembler_bytecode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698