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 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 BlockLabel::BlockLabel() | 12 BlockLabel::BlockLabel() |
13 : block_(NULL), is_bound_(false), is_linked_(false), pos_(-1) { | 13 : block_(NULL), is_bound_(false), is_linked_(false), pos_(-1) { |
14 if (!FLAG_interpret_irregexp) { | 14 if (!FLAG_interpret_irregexp) { |
15 // Only needed by the compiled IR backend. | 15 // Only needed by the compiled IR backend. |
16 block_ = new JoinEntryInstr(-1, -1); | 16 block_ = new JoinEntryInstr(-1, -1, Thread::Current()->GetNextDeoptId()); |
17 } | 17 } |
18 } | 18 } |
19 | 19 |
20 | 20 |
21 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) | 21 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) |
22 : slow_safe_compiler_(false), global_mode_(NOT_GLOBAL), zone_(zone) {} | 22 : slow_safe_compiler_(false), global_mode_(NOT_GLOBAL), zone_(zone) {} |
23 | 23 |
24 | 24 |
25 RegExpMacroAssembler::~RegExpMacroAssembler() {} | 25 RegExpMacroAssembler::~RegExpMacroAssembler() {} |
26 | 26 |
27 } // namespace dart | 27 } // namespace dart |
OLD | NEW |