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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 assembler_->CheckCharacterGT(limit, on_greater); | 203 assembler_->CheckCharacterGT(limit, on_greater); |
204 } | 204 } |
205 | 205 |
206 | 206 |
207 void RegExpMacroAssemblerTracer::CheckCharacter(uint32_t c, Label* on_equal) { | 207 void RegExpMacroAssemblerTracer::CheckCharacter(uint32_t c, Label* on_equal) { |
208 PrintF(" CheckCharacter(c='u%04x', label[%08x]);\n", c, on_equal); | 208 PrintF(" CheckCharacter(c='u%04x', label[%08x]);\n", c, on_equal); |
209 assembler_->CheckCharacter(c, on_equal); | 209 assembler_->CheckCharacter(c, on_equal); |
210 } | 210 } |
211 | 211 |
212 | 212 |
| 213 void RegExpMacroAssemblerTracer::CheckAtStart(Label* on_at_start) { |
| 214 PrintF(" CheckAtStart(label[%08x]);\n", on_at_start); |
| 215 assembler_->CheckAtStart(on_at_start); |
| 216 } |
| 217 |
| 218 |
213 void RegExpMacroAssemblerTracer::CheckNotAtStart(Label* on_not_at_start) { | 219 void RegExpMacroAssemblerTracer::CheckNotAtStart(Label* on_not_at_start) { |
214 PrintF(" CheckNotAtStart(label[%08x]);\n", on_not_at_start); | 220 PrintF(" CheckNotAtStart(label[%08x]);\n", on_not_at_start); |
215 assembler_->CheckNotAtStart(on_not_at_start); | 221 assembler_->CheckNotAtStart(on_not_at_start); |
216 } | 222 } |
217 | 223 |
218 | 224 |
219 void RegExpMacroAssemblerTracer::CheckNotCharacter(uint32_t c, | 225 void RegExpMacroAssemblerTracer::CheckNotCharacter(uint32_t c, |
220 Label* on_not_equal) { | 226 Label* on_not_equal) { |
221 PrintF(" CheckNotCharacter(c='u%04x', label[%08x]);\n", c, on_not_equal); | 227 PrintF(" CheckNotCharacter(c='u%04x', label[%08x]);\n", c, on_not_equal); |
222 assembler_->CheckNotCharacter(c, on_not_equal); | 228 assembler_->CheckNotCharacter(c, on_not_equal); |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 return assembler_->Implementation(); | 411 return assembler_->Implementation(); |
406 } | 412 } |
407 | 413 |
408 | 414 |
409 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { | 415 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { |
410 PrintF(" GetCode(%s);\n", *(source->ToCString())); | 416 PrintF(" GetCode(%s);\n", *(source->ToCString())); |
411 return assembler_->GetCode(source); | 417 return assembler_->GetCode(source); |
412 } | 418 } |
413 | 419 |
414 }} // namespace v8::internal | 420 }} // namespace v8::internal |
OLD | NEW |