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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 Label L1, L2; | 281 Label L1, L2; |
282 __ bind(&L1); | 282 __ bind(&L1); |
283 __ nop(); | 283 __ nop(); |
284 __ call(&L1); | 284 __ call(&L1); |
285 __ call(&L2); | 285 __ call(&L2); |
286 __ nop(); | 286 __ nop(); |
287 __ bind(&L2); | 287 __ bind(&L2); |
288 __ call(Operand(ebx, ecx, times_4, 10000)); | 288 __ call(Operand(ebx, ecx, times_4, 10000)); |
289 __ nop(); | 289 __ nop(); |
290 Handle<Code> ic(LoadIC::initialize_stub(isolate, NOT_CONTEXTUAL)); | 290 Handle<Code> ic(LoadIC::initialize_stub(isolate, NOT_INSIDE_TYPEOF)); |
291 __ call(ic, RelocInfo::CODE_TARGET); | 291 __ call(ic, RelocInfo::CODE_TARGET); |
292 __ nop(); | 292 __ nop(); |
293 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); | 293 __ call(FUNCTION_ADDR(DummyStaticFunction), RelocInfo::RUNTIME_ENTRY); |
294 __ nop(); | 294 __ nop(); |
295 | 295 |
296 __ jmp(&L1); | 296 __ jmp(&L1); |
297 __ jmp(Operand(ebx, ecx, times_4, 10000)); | 297 __ jmp(Operand(ebx, ecx, times_4, 10000)); |
298 ExternalReference after_break_target = | 298 ExternalReference after_break_target = |
299 ExternalReference::debug_after_break_target_address(isolate); | 299 ExternalReference::debug_after_break_target_address(isolate); |
300 __ jmp(Operand::StaticVariable(after_break_target)); | 300 __ jmp(Operand::StaticVariable(after_break_target)); |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 #ifdef OBJECT_PRINT | 683 #ifdef OBJECT_PRINT |
684 OFStream os(stdout); | 684 OFStream os(stdout); |
685 code->Print(os); | 685 code->Print(os); |
686 byte* begin = code->instruction_start(); | 686 byte* begin = code->instruction_start(); |
687 byte* end = begin + code->instruction_size(); | 687 byte* end = begin + code->instruction_size(); |
688 disasm::Disassembler::Disassemble(stdout, begin, end); | 688 disasm::Disassembler::Disassemble(stdout, begin, end); |
689 #endif | 689 #endif |
690 } | 690 } |
691 | 691 |
692 #undef __ | 692 #undef __ |
OLD | NEW |