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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ExternalReference after_break_target = | 263 ExternalReference after_break_target = |
264 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); | 264 ExternalReference::debug_after_break_target_address(isolate); |
265 USE(after_break_target); | 265 USE(after_break_target); |
266 __ jmp(ic, RelocInfo::CODE_TARGET); | 266 __ jmp(ic, RelocInfo::CODE_TARGET); |
267 __ nop(); | 267 __ nop(); |
268 | 268 |
269 | 269 |
270 Label Ljcc; | 270 Label Ljcc; |
271 __ nop(); | 271 __ nop(); |
272 // long jumps | 272 // long jumps |
273 __ j(overflow, &Ljcc); | 273 __ j(overflow, &Ljcc); |
274 __ j(no_overflow, &Ljcc); | 274 __ j(no_overflow, &Ljcc); |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 USE(code); | 434 USE(code); |
435 #ifdef OBJECT_PRINT | 435 #ifdef OBJECT_PRINT |
436 code->Print(); | 436 code->Print(); |
437 byte* begin = code->instruction_start(); | 437 byte* begin = code->instruction_start(); |
438 byte* end = begin + code->instruction_size(); | 438 byte* end = begin + code->instruction_size(); |
439 disasm::Disassembler::Disassemble(stdout, begin, end); | 439 disasm::Disassembler::Disassemble(stdout, begin, end); |
440 #endif | 440 #endif |
441 } | 441 } |
442 | 442 |
443 #undef __ | 443 #undef __ |
OLD | NEW |