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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 assembler_->MinusOrThenCheckNotCharacter(c, mask, on_not_equal); | 192 assembler_->MinusOrThenCheckNotCharacter(c, mask, on_not_equal); |
193 } | 193 } |
194 | 194 |
195 | 195 |
196 void RegExpMacroAssemblerIrregexp::CheckNotBackReference(int start_reg, | 196 void RegExpMacroAssemblerIrregexp::CheckNotBackReference(int start_reg, |
197 Label* on_not_equal) { | 197 Label* on_not_equal) { |
198 assembler_->CheckNotBackReference(start_reg, on_not_equal); | 198 assembler_->CheckNotBackReference(start_reg, on_not_equal); |
199 } | 199 } |
200 | 200 |
201 | 201 |
| 202 void RegExpMacroAssemblerIrregexp::CheckNotBackReferenceCaseIndependent( |
| 203 int start_reg, |
| 204 Label* on_not_equal) { |
| 205 assembler_->CheckNotBackReferenceNoCase(start_reg, on_not_equal); |
| 206 } |
| 207 |
| 208 |
202 void RegExpMacroAssemblerIrregexp::CheckBitmap(uc16 start, | 209 void RegExpMacroAssemblerIrregexp::CheckBitmap(uc16 start, |
203 Label* bitmap, | 210 Label* bitmap, |
204 Label* on_zero) { | 211 Label* on_zero) { |
205 assembler_->LookupMap1(start, bitmap, on_zero); | 212 assembler_->LookupMap1(start, bitmap, on_zero); |
206 } | 213 } |
207 | 214 |
208 | 215 |
209 void RegExpMacroAssemblerIrregexp::DispatchHalfNibbleMap( | 216 void RegExpMacroAssemblerIrregexp::DispatchHalfNibbleMap( |
210 uc16 start, | 217 uc16 start, |
211 Label* half_nibble_map, | 218 Label* half_nibble_map, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 } | 264 } |
258 | 265 |
259 | 266 |
260 Handle<Object> RegExpMacroAssemblerIrregexp::GetCode() { | 267 Handle<Object> RegExpMacroAssemblerIrregexp::GetCode() { |
261 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); | 268 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); |
262 assembler_->Copy(array->GetDataStartAddress()); | 269 assembler_->Copy(array->GetDataStartAddress()); |
263 return array; | 270 return array; |
264 } | 271 } |
265 | 272 |
266 } } // namespace v8::internal | 273 } } // namespace v8::internal |
OLD | NEW |