OLD | NEW |
1 // Copyright 2008-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2008-2009 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_ | 5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_ |
6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_ | 6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_ |
7 | 7 |
8 #include "src/ast.h" | 8 #include "src/ast.h" |
9 #include "src/regexp/bytecodes-irregexp.h" | 9 #include "src/regexp/bytecodes-irregexp.h" |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 DCHECK(pc_ <= buffer_.length()); | 49 DCHECK(pc_ <= buffer_.length()); |
50 if (pc_ + 3 >= buffer_.length()) { | 50 if (pc_ + 3 >= buffer_.length()) { |
51 Expand(); | 51 Expand(); |
52 } | 52 } |
53 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; | 53 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; |
54 pc_ += 4; | 54 pc_ += 4; |
55 } | 55 } |
56 | 56 |
57 #endif // V8_INTERPRETED_REGEXP | 57 #endif // V8_INTERPRETED_REGEXP |
58 | 58 |
59 } } // namespace v8::internal | 59 } // namespace internal |
| 60 } // namespace v8 |
60 | 61 |
61 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_ | 62 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_ |
OLD | NEW |