| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 143 |
| 144 void RegExpMacroAssemblerTracer::WriteCurrentPositionToRegister(int reg, | 144 void RegExpMacroAssemblerTracer::WriteCurrentPositionToRegister(int reg, |
| 145 int cp_offset) { | 145 int cp_offset) { |
| 146 PrintF(" WriteCurrentPositionToRegister(register=%d,cp_offset=%d);\n", | 146 PrintF(" WriteCurrentPositionToRegister(register=%d,cp_offset=%d);\n", |
| 147 reg, | 147 reg, |
| 148 cp_offset); | 148 cp_offset); |
| 149 assembler_->WriteCurrentPositionToRegister(reg, cp_offset); | 149 assembler_->WriteCurrentPositionToRegister(reg, cp_offset); |
| 150 } | 150 } |
| 151 | 151 |
| 152 | 152 |
| 153 void RegExpMacroAssemblerTracer::ClearRegister(int reg) { |
| 154 PrintF(" ClearRegister(register=%d);\n", reg); |
| 155 assembler_->ClearRegister(reg); |
| 156 } |
| 157 |
| 158 |
| 153 void RegExpMacroAssemblerTracer::ReadCurrentPositionFromRegister(int reg) { | 159 void RegExpMacroAssemblerTracer::ReadCurrentPositionFromRegister(int reg) { |
| 154 PrintF(" ReadCurrentPositionFromRegister(register=%d);\n", reg); | 160 PrintF(" ReadCurrentPositionFromRegister(register=%d);\n", reg); |
| 155 assembler_->ReadCurrentPositionFromRegister(reg); | 161 assembler_->ReadCurrentPositionFromRegister(reg); |
| 156 } | 162 } |
| 157 | 163 |
| 158 | 164 |
| 159 void RegExpMacroAssemblerTracer::WriteStackPointerToRegister(int reg) { | 165 void RegExpMacroAssemblerTracer::WriteStackPointerToRegister(int reg) { |
| 160 PrintF(" WriteStackPointerToRegister(register=%d);\n", reg); | 166 PrintF(" WriteStackPointerToRegister(register=%d);\n", reg); |
| 161 assembler_->WriteStackPointerToRegister(reg); | 167 assembler_->WriteStackPointerToRegister(reg); |
| 162 } | 168 } |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 return assembler_->Implementation(); | 405 return assembler_->Implementation(); |
| 400 } | 406 } |
| 401 | 407 |
| 402 | 408 |
| 403 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { | 409 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { |
| 404 PrintF(" GetCode(%s);\n", *(source->ToCString())); | 410 PrintF(" GetCode(%s);\n", *(source->ToCString())); |
| 405 return assembler_->GetCode(source); | 411 return assembler_->GetCode(source); |
| 406 } | 412 } |
| 407 | 413 |
| 408 }} // namespace v8::internal | 414 }} // namespace v8::internal |
| OLD | NEW |