OLD | NEW |
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 Loading... |
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 |
OLD | NEW |