| OLD | NEW | 
|     1 // Copyright 2012 the V8 project authors. All rights reserved.7 |     1 // Copyright 2012 the V8 project authors. All rights reserved.7 | 
|     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 2891 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2902  |  2902  | 
|  2903   if (no_frame_start != -1) { |  2903   if (no_frame_start != -1) { | 
|  2904     info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); |  2904     info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); | 
|  2905   } |  2905   } | 
|  2906 } |  2906 } | 
|  2907  |  2907  | 
|  2908  |  2908  | 
|  2909 template <class T> |  2909 template <class T> | 
|  2910 void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |  2910 void LCodeGen::EmitVectorLoadICRegisters(T* instr) { | 
|  2911   Register vector_register = ToRegister(instr->temp_vector()); |  2911   Register vector_register = ToRegister(instr->temp_vector()); | 
|  2912   Register slot_register = VectorLoadICDescriptor::SlotRegister(); |  2912   Register slot_register = LoadWithVectorDescriptor::SlotRegister(); | 
|  2913   DCHECK(vector_register.is(VectorLoadICDescriptor::VectorRegister())); |  2913   DCHECK(vector_register.is(LoadWithVectorDescriptor::VectorRegister())); | 
|  2914   DCHECK(slot_register.is(a0)); |  2914   DCHECK(slot_register.is(a0)); | 
|  2915  |  2915  | 
|  2916   AllowDeferredHandleDereference vector_structure_check; |  2916   AllowDeferredHandleDereference vector_structure_check; | 
|  2917   Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector(); |  2917   Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector(); | 
|  2918   __ li(vector_register, vector); |  2918   __ li(vector_register, vector); | 
|  2919   // No need to allocate this register. |  2919   // No need to allocate this register. | 
|  2920   FeedbackVectorICSlot slot = instr->hydrogen()->slot(); |  2920   FeedbackVectorICSlot slot = instr->hydrogen()->slot(); | 
|  2921   int index = vector->GetIndex(slot); |  2921   int index = vector->GetIndex(slot); | 
|  2922   __ li(slot_register, Operand(Smi::FromInt(index))); |  2922   __ li(slot_register, Operand(Smi::FromInt(index))); | 
|  2923 } |  2923 } | 
| (...skipping 3144 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  6068   __ li(at, scope_info); |  6068   __ li(at, scope_info); | 
|  6069   __ Push(at, ToRegister(instr->function())); |  6069   __ Push(at, ToRegister(instr->function())); | 
|  6070   CallRuntime(Runtime::kPushBlockContext, 2, instr); |  6070   CallRuntime(Runtime::kPushBlockContext, 2, instr); | 
|  6071   RecordSafepoint(Safepoint::kNoLazyDeopt); |  6071   RecordSafepoint(Safepoint::kNoLazyDeopt); | 
|  6072 } |  6072 } | 
|  6073  |  6073  | 
|  6074  |  6074  | 
|  6075 #undef __ |  6075 #undef __ | 
|  6076  |  6076  | 
|  6077 } }  // namespace v8::internal |  6077 } }  // namespace v8::internal | 
| OLD | NEW |