OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 } | 199 } |
200 | 200 |
201 | 201 |
202 void RegExpMacroAssemblerIrregexp::CheckNotBackReferenceIgnoreCase( | 202 void RegExpMacroAssemblerIrregexp::CheckNotBackReferenceIgnoreCase( |
203 int start_reg, | 203 int start_reg, |
204 Label* on_not_equal) { | 204 Label* on_not_equal) { |
205 assembler_->CheckNotBackReferenceNoCase(start_reg, on_not_equal); | 205 assembler_->CheckNotBackReferenceNoCase(start_reg, on_not_equal); |
206 } | 206 } |
207 | 207 |
208 | 208 |
| 209 void RegExpMacroAssemblerIrregexp::CheckNotRegistersEqual(int reg1, |
| 210 int reg2, |
| 211 Label* on_not_equal) { |
| 212 assembler_->CheckNotRegistersEqual(reg1, reg2, on_not_equal); |
| 213 } |
| 214 |
| 215 |
209 void RegExpMacroAssemblerIrregexp::CheckBitmap(uc16 start, | 216 void RegExpMacroAssemblerIrregexp::CheckBitmap(uc16 start, |
210 Label* bitmap, | 217 Label* bitmap, |
211 Label* on_zero) { | 218 Label* on_zero) { |
212 assembler_->LookupMap1(start, bitmap, on_zero); | 219 assembler_->LookupMap1(start, bitmap, on_zero); |
213 } | 220 } |
214 | 221 |
215 | 222 |
216 void RegExpMacroAssemblerIrregexp::DispatchHalfNibbleMap( | 223 void RegExpMacroAssemblerIrregexp::DispatchHalfNibbleMap( |
217 uc16 start, | 224 uc16 start, |
218 Label* half_nibble_map, | 225 Label* half_nibble_map, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 } | 271 } |
265 | 272 |
266 | 273 |
267 Handle<Object> RegExpMacroAssemblerIrregexp::GetCode() { | 274 Handle<Object> RegExpMacroAssemblerIrregexp::GetCode() { |
268 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); | 275 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); |
269 assembler_->Copy(array->GetDataStartAddress()); | 276 assembler_->Copy(array->GetDataStartAddress()); |
270 return array; | 277 return array; |
271 } | 278 } |
272 | 279 |
273 } } // namespace v8::internal | 280 } } // namespace v8::internal |
OLD | NEW |