| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 Builtins::LoadIC_Initialize)); | 276 Builtins::LoadIC_Initialize)); |
| 277 __ call(ic, RelocInfo::CODE_TARGET); | 277 __ call(ic, RelocInfo::CODE_TARGET); |
| 278 __ nop(); | 278 __ nop(); |
| 279 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); | 279 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); |
| 280 __ nop(); | 280 __ nop(); |
| 281 | 281 |
| 282 __ jmp(&L1); | 282 __ jmp(&L1); |
| 283 __ jmp(Operand(ebx, ecx, times_4, 10000)); | 283 __ jmp(Operand(ebx, ecx, times_4, 10000)); |
| 284 #ifdef ENABLE_DEBUGGER_SUPPORT | 284 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 285 ExternalReference after_break_target = | 285 ExternalReference after_break_target = |
| 286 ExternalReference(Debug_Address::AfterBreakTarget()); | 286 ExternalReference(Debug_Address::AfterBreakTarget(), |
| 287 assm.isolate()); |
| 287 __ jmp(Operand::StaticVariable(after_break_target)); | 288 __ jmp(Operand::StaticVariable(after_break_target)); |
| 288 #endif // ENABLE_DEBUGGER_SUPPORT | 289 #endif // ENABLE_DEBUGGER_SUPPORT |
| 289 __ jmp(ic, RelocInfo::CODE_TARGET); | 290 __ jmp(ic, RelocInfo::CODE_TARGET); |
| 290 __ nop(); | 291 __ nop(); |
| 291 | 292 |
| 292 | 293 |
| 293 Label Ljcc; | 294 Label Ljcc; |
| 294 __ nop(); | 295 __ nop(); |
| 295 // long jumps | 296 // long jumps |
| 296 __ j(overflow, &Ljcc); | 297 __ j(overflow, &Ljcc); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 CHECK(code->IsCode()); | 467 CHECK(code->IsCode()); |
| 467 #ifdef OBJECT_PRINT | 468 #ifdef OBJECT_PRINT |
| 468 Code::cast(code)->Print(); | 469 Code::cast(code)->Print(); |
| 469 byte* begin = Code::cast(code)->instruction_start(); | 470 byte* begin = Code::cast(code)->instruction_start(); |
| 470 byte* end = begin + Code::cast(code)->instruction_size(); | 471 byte* end = begin + Code::cast(code)->instruction_size(); |
| 471 disasm::Disassembler::Disassemble(stdout, begin, end); | 472 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 472 #endif | 473 #endif |
| 473 } | 474 } |
| 474 | 475 |
| 475 #undef __ | 476 #undef __ |
| OLD | NEW |