| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 366 |
| 367 | 367 |
| 368 void RegExpMacroAssemblerTracer::IfRegisterLT(int register_index, | 368 void RegExpMacroAssemblerTracer::IfRegisterLT(int register_index, |
| 369 int comparand, Label* if_lt) { | 369 int comparand, Label* if_lt) { |
| 370 PrintF(" IfRegisterLT(register=%d, number=%d, label[%08x]);\n", | 370 PrintF(" IfRegisterLT(register=%d, number=%d, label[%08x]);\n", |
| 371 register_index, comparand, if_lt); | 371 register_index, comparand, if_lt); |
| 372 assembler_->IfRegisterLT(register_index, comparand, if_lt); | 372 assembler_->IfRegisterLT(register_index, comparand, if_lt); |
| 373 } | 373 } |
| 374 | 374 |
| 375 | 375 |
| 376 void RegExpMacroAssemblerTracer::IfRegisterEqPos(int register_index, |
| 377 Label* if_eq) { |
| 378 PrintF(" IfRegisterEqPos(register=%d, label[%08x]);\n", |
| 379 register_index, if_eq); |
| 380 assembler_->IfRegisterEqPos(register_index, if_eq); |
| 381 } |
| 382 |
| 383 |
| 376 void RegExpMacroAssemblerTracer::IfRegisterGE(int register_index, | 384 void RegExpMacroAssemblerTracer::IfRegisterGE(int register_index, |
| 377 int comparand, Label* if_ge) { | 385 int comparand, Label* if_ge) { |
| 378 PrintF(" IfRegisterGE(register=%d, number=%d, label[%08x]);\n", | 386 PrintF(" IfRegisterGE(register=%d, number=%d, label[%08x]);\n", |
| 379 register_index, comparand, if_ge); | 387 register_index, comparand, if_ge); |
| 380 assembler_->IfRegisterGE(register_index, comparand, if_ge); | 388 assembler_->IfRegisterGE(register_index, comparand, if_ge); |
| 381 } | 389 } |
| 382 | 390 |
| 383 | 391 |
| 384 RegExpMacroAssembler::IrregexpImplementation | 392 RegExpMacroAssembler::IrregexpImplementation |
| 385 RegExpMacroAssemblerTracer::Implementation() { | 393 RegExpMacroAssemblerTracer::Implementation() { |
| 386 return assembler_->Implementation(); | 394 return assembler_->Implementation(); |
| 387 } | 395 } |
| 388 | 396 |
| 389 | 397 |
| 390 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { | 398 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { |
| 391 PrintF(" GetCode(%s);\n", *(source->ToCString())); | 399 PrintF(" GetCode(%s);\n", *(source->ToCString())); |
| 392 return assembler_->GetCode(source); | 400 return assembler_->GetCode(source); |
| 393 } | 401 } |
| 394 | 402 |
| 395 }} // namespace v8::internal | 403 }} // namespace v8::internal |
| OLD | NEW |