35 #ifndef V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
36 #define V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
41 #ifdef V8_INTERPRETED_REGEXP
43 void RegExpMacroAssemblerIrregexp::Emit(uint32_t
byte,
44 uint32_t twenty_four_bits) {
47 if (pc_ + 3 >=
buffer_.length()) {
50 *
reinterpret_cast<uint32_t*
>(
buffer_.start() + pc_) = word;
55 void RegExpMacroAssemblerIrregexp::Emit16(uint32_t word) {
57 if (pc_ + 1 >=
buffer_.length()) {
65 void RegExpMacroAssemblerIrregexp::Emit8(uint32_t word) {
70 *
reinterpret_cast<unsigned char*
>(
buffer_.start() + pc_) = word;
75 void RegExpMacroAssemblerIrregexp::Emit32(uint32_t word) {
77 if (pc_ + 3 >=
buffer_.length()) {
80 *
reinterpret_cast<uint32_t*
>(
buffer_.start() + pc_) = word;
84 #endif // V8_INTERPRETED_REGEXP
88 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
#define ASSERT(condition)
StringInputBuffer *const buffer_