| 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 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2787   } | 2787   } | 
| 2788 | 2788 | 
| 2789   LPointerMap* pointers = instr->pointer_map(); | 2789   LPointerMap* pointers = instr->pointer_map(); | 
| 2790   RecordPosition(pointers->position()); | 2790   RecordPosition(pointers->position()); | 
| 2791 | 2791 | 
| 2792   // Invoke function. | 2792   // Invoke function. | 
| 2793   __ SetCallKind(t1, call_kind); | 2793   __ SetCallKind(t1, call_kind); | 
| 2794   __ lw(at, FieldMemOperand(a1, JSFunction::kCodeEntryOffset)); | 2794   __ lw(at, FieldMemOperand(a1, JSFunction::kCodeEntryOffset)); | 
| 2795   __ Call(at); | 2795   __ Call(at); | 
| 2796 | 2796 | 
| 2797   // Setup deoptimization. | 2797   // Set up deoptimization. | 
| 2798   RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); | 2798   RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); | 
| 2799 | 2799 | 
| 2800   // Restore context. | 2800   // Restore context. | 
| 2801   __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); | 2801   __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); | 
| 2802 } | 2802 } | 
| 2803 | 2803 | 
| 2804 | 2804 | 
| 2805 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) { | 2805 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) { | 
| 2806   ASSERT(ToRegister(instr->result()).is(v0)); | 2806   ASSERT(ToRegister(instr->result()).is(v0)); | 
| 2807   __ mov(a0, v0); | 2807   __ mov(a0, v0); | 
| (...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4685   ASSERT(!environment->HasBeenRegistered()); | 4685   ASSERT(!environment->HasBeenRegistered()); | 
| 4686   RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); | 4686   RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); | 
| 4687   ASSERT(osr_pc_offset_ == -1); | 4687   ASSERT(osr_pc_offset_ == -1); | 
| 4688   osr_pc_offset_ = masm()->pc_offset(); | 4688   osr_pc_offset_ = masm()->pc_offset(); | 
| 4689 } | 4689 } | 
| 4690 | 4690 | 
| 4691 | 4691 | 
| 4692 #undef __ | 4692 #undef __ | 
| 4693 | 4693 | 
| 4694 } }  // namespace v8::internal | 4694 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|