| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 void RegExpMacroAssemblerRe2k::CheckCharacter(uc16 c, Label* on_equal) { | 167 void RegExpMacroAssemblerRe2k::CheckCharacter(uc16 c, Label* on_equal) { |
| 168 assembler_->CheckCharacter(c, on_equal); | 168 assembler_->CheckCharacter(c, on_equal); |
| 169 } | 169 } |
| 170 | 170 |
| 171 | 171 |
| 172 void RegExpMacroAssemblerRe2k::CheckNotCharacter(uc16 c, Label* on_not_equal) { | 172 void RegExpMacroAssemblerRe2k::CheckNotCharacter(uc16 c, Label* on_not_equal) { |
| 173 assembler_->CheckNotCharacter(c, on_not_equal); | 173 assembler_->CheckNotCharacter(c, on_not_equal); |
| 174 } | 174 } |
| 175 | 175 |
| 176 | 176 |
| 177 void RegExpMacroAssemblerRe2k::CheckNotBackReference(int start_reg, Label* on_no
t_equal) { |
| 178 assembler_->CheckNotBackReference(start_reg, on_not_equal); |
| 179 } |
| 180 |
| 181 |
| 177 void RegExpMacroAssemblerRe2k::CheckBitmap(uc16 start, | 182 void RegExpMacroAssemblerRe2k::CheckBitmap(uc16 start, |
| 178 Label* bitmap, | 183 Label* bitmap, |
| 179 Label* on_zero) { | 184 Label* on_zero) { |
| 180 assembler_->LookupMap1(start, bitmap, on_zero); | 185 assembler_->LookupMap1(start, bitmap, on_zero); |
| 181 } | 186 } |
| 182 | 187 |
| 183 | 188 |
| 184 void RegExpMacroAssemblerRe2k::DispatchHalfNibbleMap( | 189 void RegExpMacroAssemblerRe2k::DispatchHalfNibbleMap( |
| 185 uc16 start, | 190 uc16 start, |
| 186 Label* half_nibble_map, | 191 Label* half_nibble_map, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 } | 236 } |
| 232 | 237 |
| 233 | 238 |
| 234 Handle<Object> RegExpMacroAssemblerRe2k::GetCode() { | 239 Handle<Object> RegExpMacroAssemblerRe2k::GetCode() { |
| 235 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); | 240 Handle<ByteArray> array = Factory::NewByteArray(assembler_->length()); |
| 236 assembler_->Copy(array->GetDataStartAddress()); | 241 assembler_->Copy(array->GetDataStartAddress()); |
| 237 return array; | 242 return array; |
| 238 } | 243 } |
| 239 | 244 |
| 240 } } // namespace v8::internal | 245 } } // namespace v8::internal |
| OLD | NEW |