| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #if V8_TARGET_ARCH_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 | 
| 6 | 6 | 
| 7 #include "src/codegen.h" | 7 #include "src/codegen.h" | 
| 8 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" | 
| 9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" | 
| 10 #include "src/full-codegen/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" | 
| (...skipping 2432 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2443       __ bind(&convert_to_object); | 2443       __ bind(&convert_to_object); | 
| 2444       { | 2444       { | 
| 2445         // Convert receiver using ToObject. | 2445         // Convert receiver using ToObject. | 
| 2446         // TODO(bmeurer): Inline the allocation here to avoid building the frame | 2446         // TODO(bmeurer): Inline the allocation here to avoid building the frame | 
| 2447         // in the fast case? (fall back to AllocateInNewSpace?) | 2447         // in the fast case? (fall back to AllocateInNewSpace?) | 
| 2448         FrameScope scope(masm, StackFrame::INTERNAL); | 2448         FrameScope scope(masm, StackFrame::INTERNAL); | 
| 2449         __ SmiTag(a0); | 2449         __ SmiTag(a0); | 
| 2450         __ Push(a0, a1); | 2450         __ Push(a0, a1); | 
| 2451         __ mov(a0, a3); | 2451         __ mov(a0, a3); | 
| 2452         __ Push(cp); | 2452         __ Push(cp); | 
| 2453         ToObjectStub stub(masm->isolate()); | 2453         __ Call(masm->isolate()->builtins()->ToObject(), | 
| 2454         __ CallStub(&stub); | 2454                 RelocInfo::CODE_TARGET); | 
| 2455         __ Pop(cp); | 2455         __ Pop(cp); | 
| 2456         __ mov(a3, v0); | 2456         __ mov(a3, v0); | 
| 2457         __ Pop(a0, a1); | 2457         __ Pop(a0, a1); | 
| 2458         __ SmiUntag(a0); | 2458         __ SmiUntag(a0); | 
| 2459       } | 2459       } | 
| 2460       __ ld(a2, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); | 2460       __ ld(a2, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); | 
| 2461       __ bind(&convert_receiver); | 2461       __ bind(&convert_receiver); | 
| 2462     } | 2462     } | 
| 2463     __ Dlsa(at, sp, a0, kPointerSizeLog2); | 2463     __ Dlsa(at, sp, a0, kPointerSizeLog2); | 
| 2464     __ sd(a3, MemOperand(at)); | 2464     __ sd(a3, MemOperand(at)); | 
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2992     __ break_(0xCC); | 2992     __ break_(0xCC); | 
| 2993   } | 2993   } | 
| 2994 } | 2994 } | 
| 2995 | 2995 | 
| 2996 #undef __ | 2996 #undef __ | 
| 2997 | 2997 | 
| 2998 }  // namespace internal | 2998 }  // namespace internal | 
| 2999 }  // namespace v8 | 2999 }  // namespace v8 | 
| 3000 | 3000 | 
| 3001 #endif  // V8_TARGET_ARCH_MIPS64 | 3001 #endif  // V8_TARGET_ARCH_MIPS64 | 
| OLD | NEW | 
|---|