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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 __ nop(); | 268 __ nop(); |
269 Handle<Code> ic(LoadIC::initialize_stub(isolate, NOT_CONTEXTUAL)); | 269 Handle<Code> ic(LoadIC::initialize_stub(isolate, NOT_CONTEXTUAL)); |
270 __ call(ic, RelocInfo::CODE_TARGET); | 270 __ call(ic, RelocInfo::CODE_TARGET); |
271 __ nop(); | 271 __ nop(); |
272 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); | 272 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); |
273 __ nop(); | 273 __ nop(); |
274 | 274 |
275 __ jmp(&L1); | 275 __ jmp(&L1); |
276 __ jmp(Operand(ebx, ecx, times_4, 10000)); | 276 __ jmp(Operand(ebx, ecx, times_4, 10000)); |
277 ExternalReference after_break_target = | 277 ExternalReference after_break_target = |
278 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); | 278 ExternalReference::debug_after_break_target_address(isolate); |
279 __ jmp(Operand::StaticVariable(after_break_target)); | 279 __ jmp(Operand::StaticVariable(after_break_target)); |
280 __ jmp(ic, RelocInfo::CODE_TARGET); | 280 __ jmp(ic, RelocInfo::CODE_TARGET); |
281 __ nop(); | 281 __ nop(); |
282 | 282 |
283 | 283 |
284 Label Ljcc; | 284 Label Ljcc; |
285 __ nop(); | 285 __ nop(); |
286 // long jumps | 286 // long jumps |
287 __ j(overflow, &Ljcc); | 287 __ j(overflow, &Ljcc); |
288 __ j(no_overflow, &Ljcc); | 288 __ j(no_overflow, &Ljcc); |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 USE(code); | 455 USE(code); |
456 #ifdef OBJECT_PRINT | 456 #ifdef OBJECT_PRINT |
457 code->Print(); | 457 code->Print(); |
458 byte* begin = code->instruction_start(); | 458 byte* begin = code->instruction_start(); |
459 byte* end = begin + code->instruction_size(); | 459 byte* end = begin + code->instruction_size(); |
460 disasm::Disassembler::Disassemble(stdout, begin, end); | 460 disasm::Disassembler::Disassemble(stdout, begin, end); |
461 #endif | 461 #endif |
462 } | 462 } |
463 | 463 |
464 #undef __ | 464 #undef __ |
OLD | NEW |