| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2894 } | 2894 } |
| 2895 | 2895 |
| 2896 LPointerMap* pointers = instr->pointer_map(); | 2896 LPointerMap* pointers = instr->pointer_map(); |
| 2897 RecordPosition(pointers->position()); | 2897 RecordPosition(pointers->position()); |
| 2898 | 2898 |
| 2899 // Invoke function. | 2899 // Invoke function. |
| 2900 __ SetCallKind(r5, call_kind); | 2900 __ SetCallKind(r5, call_kind); |
| 2901 __ ldr(ip, FieldMemOperand(r1, JSFunction::kCodeEntryOffset)); | 2901 __ ldr(ip, FieldMemOperand(r1, JSFunction::kCodeEntryOffset)); |
| 2902 __ Call(ip); | 2902 __ Call(ip); |
| 2903 | 2903 |
| 2904 // Setup deoptimization. | 2904 // Set up deoptimization. |
| 2905 RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); | 2905 RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); |
| 2906 | 2906 |
| 2907 // Restore context. | 2907 // Restore context. |
| 2908 __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); | 2908 __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
| 2909 } | 2909 } |
| 2910 | 2910 |
| 2911 | 2911 |
| 2912 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) { | 2912 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) { |
| 2913 ASSERT(ToRegister(instr->result()).is(r0)); | 2913 ASSERT(ToRegister(instr->result()).is(r0)); |
| 2914 __ LoadHeapObject(r1, instr->function()); | 2914 __ LoadHeapObject(r1, instr->function()); |
| (...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4745 ASSERT(osr_pc_offset_ == -1); | 4745 ASSERT(osr_pc_offset_ == -1); |
| 4746 osr_pc_offset_ = masm()->pc_offset(); | 4746 osr_pc_offset_ = masm()->pc_offset(); |
| 4747 } | 4747 } |
| 4748 | 4748 |
| 4749 | 4749 |
| 4750 | 4750 |
| 4751 | 4751 |
| 4752 #undef __ | 4752 #undef __ |
| 4753 | 4753 |
| 4754 } } // namespace v8::internal | 4754 } } // namespace v8::internal |
| OLD | NEW |