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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 __ call(Operand(ebx, ecx, times_4, 10000)); | 267 __ call(Operand(ebx, ecx, times_4, 10000)); |
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 #ifdef ENABLE_DEBUGGER_SUPPORT | |
278 ExternalReference after_break_target = | 277 ExternalReference after_break_target = |
279 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); | 278 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); |
280 __ jmp(Operand::StaticVariable(after_break_target)); | 279 __ jmp(Operand::StaticVariable(after_break_target)); |
281 #endif // ENABLE_DEBUGGER_SUPPORT | |
282 __ jmp(ic, RelocInfo::CODE_TARGET); | 280 __ jmp(ic, RelocInfo::CODE_TARGET); |
283 __ nop(); | 281 __ nop(); |
284 | 282 |
285 | 283 |
286 Label Ljcc; | 284 Label Ljcc; |
287 __ nop(); | 285 __ nop(); |
288 // long jumps | 286 // long jumps |
289 __ j(overflow, &Ljcc); | 287 __ j(overflow, &Ljcc); |
290 __ j(no_overflow, &Ljcc); | 288 __ j(no_overflow, &Ljcc); |
291 __ j(below, &Ljcc); | 289 __ j(below, &Ljcc); |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 USE(code); | 465 USE(code); |
468 #ifdef OBJECT_PRINT | 466 #ifdef OBJECT_PRINT |
469 code->Print(); | 467 code->Print(); |
470 byte* begin = code->instruction_start(); | 468 byte* begin = code->instruction_start(); |
471 byte* end = begin + code->instruction_size(); | 469 byte* end = begin + code->instruction_size(); |
472 disasm::Disassembler::Disassemble(stdout, begin, end); | 470 disasm::Disassembler::Disassemble(stdout, begin, end); |
473 #endif | 471 #endif |
474 } | 472 } |
475 | 473 |
476 #undef __ | 474 #undef __ |
OLD | NEW |