| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // __ call(Operand(rbx, rcx, times_4, 10000)); | 253 // __ call(Operand(rbx, rcx, times_4, 10000)); |
| 254 __ nop(); | 254 __ nop(); |
| 255 Handle<Code> ic(LoadIC::initialize_stub(isolate, NOT_CONTEXTUAL)); | 255 Handle<Code> ic(LoadIC::initialize_stub(isolate, NOT_CONTEXTUAL)); |
| 256 __ call(ic, RelocInfo::CODE_TARGET); | 256 __ call(ic, RelocInfo::CODE_TARGET); |
| 257 __ nop(); | 257 __ nop(); |
| 258 __ nop(); | 258 __ nop(); |
| 259 | 259 |
| 260 __ jmp(&L1); | 260 __ jmp(&L1); |
| 261 // TODO(mstarzinger): The following is protected. | 261 // TODO(mstarzinger): The following is protected. |
| 262 // __ jmp(Operand(rbx, rcx, times_4, 10000)); | 262 // __ jmp(Operand(rbx, rcx, times_4, 10000)); |
| 263 #ifdef ENABLE_DEBUGGER_SUPPORT | |
| 264 ExternalReference after_break_target = | 263 ExternalReference after_break_target = |
| 265 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); | 264 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); |
| 266 USE(after_break_target); | 265 USE(after_break_target); |
| 267 #endif // ENABLE_DEBUGGER_SUPPORT | |
| 268 __ jmp(ic, RelocInfo::CODE_TARGET); | 266 __ jmp(ic, RelocInfo::CODE_TARGET); |
| 269 __ nop(); | 267 __ nop(); |
| 270 | 268 |
| 271 | 269 |
| 272 Label Ljcc; | 270 Label Ljcc; |
| 273 __ nop(); | 271 __ nop(); |
| 274 // long jumps | 272 // long jumps |
| 275 __ j(overflow, &Ljcc); | 273 __ j(overflow, &Ljcc); |
| 276 __ j(no_overflow, &Ljcc); | 274 __ j(no_overflow, &Ljcc); |
| 277 __ j(below, &Ljcc); | 275 __ j(below, &Ljcc); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 USE(code); | 434 USE(code); |
| 437 #ifdef OBJECT_PRINT | 435 #ifdef OBJECT_PRINT |
| 438 code->Print(); | 436 code->Print(); |
| 439 byte* begin = code->instruction_start(); | 437 byte* begin = code->instruction_start(); |
| 440 byte* end = begin + code->instruction_size(); | 438 byte* end = begin + code->instruction_size(); |
| 441 disasm::Disassembler::Disassemble(stdout, begin, end); | 439 disasm::Disassembler::Disassemble(stdout, begin, end); |
| 442 #endif | 440 #endif |
| 443 } | 441 } |
| 444 | 442 |
| 445 #undef __ | 443 #undef __ |
| OLD | NEW |