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

Side by Side Diff: runtime/vm/regexp_assembler.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/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 #include "vm/unibrow-inl.h" 9 #include "vm/unibrow-inl.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 BlockLabel::BlockLabel() 59 BlockLabel::BlockLabel()
60 : block_(NULL), is_bound_(false), is_linked_(false), pos_(-1) { 60 : block_(NULL), is_bound_(false), is_linked_(false), pos_(-1) {
61 #if !defined(DART_PRECOMPILED_RUNTIME) 61 #if !defined(DART_PRECOMPILED_RUNTIME)
62 if (!FLAG_interpret_irregexp) { 62 if (!FLAG_interpret_irregexp) {
63 // Only needed by the compiled IR backend. 63 // Only needed by the compiled IR backend.
64 block_ = new JoinEntryInstr(-1, -1, Thread::Current()->GetNextDeoptId()); 64 block_ = new JoinEntryInstr(-1, -1, Thread::Current()->GetNextDeoptId());
65 } 65 }
66 #endif 66 #endif
67 } 67 }
68 68
69
70 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) 69 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone)
71 : slow_safe_compiler_(false), global_mode_(NOT_GLOBAL), zone_(zone) {} 70 : slow_safe_compiler_(false), global_mode_(NOT_GLOBAL), zone_(zone) {}
72 71
73
74 RegExpMacroAssembler::~RegExpMacroAssembler() {} 72 RegExpMacroAssembler::~RegExpMacroAssembler() {}
75 73
76 } // namespace dart 74 } // 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