| 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 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1407 __ ld(v0, FieldMemOperand( | 1407 __ ld(v0, FieldMemOperand( |
| 1408 a0, JSDate::kValueOffset + | 1408 a0, JSDate::kValueOffset + |
| 1409 field_index * kPointerSize)); // In delay slot. | 1409 field_index * kPointerSize)); // In delay slot. |
| 1410 __ bind(&stamp_mismatch); | 1410 __ bind(&stamp_mismatch); |
| 1411 } | 1411 } |
| 1412 FrameScope scope(masm, StackFrame::INTERNAL); | 1412 FrameScope scope(masm, StackFrame::INTERNAL); |
| 1413 __ PrepareCallCFunction(2, t0); | 1413 __ PrepareCallCFunction(2, t0); |
| 1414 __ li(a1, Operand(Smi::FromInt(field_index))); | 1414 __ li(a1, Operand(Smi::FromInt(field_index))); |
| 1415 __ CallCFunction( | 1415 __ CallCFunction( |
| 1416 ExternalReference::get_date_field_function(masm->isolate()), 2); | 1416 ExternalReference::get_date_field_function(masm->isolate()), 2); |
| 1417 __ Ret(); | |
| 1418 } | 1417 } |
| 1418 __ Ret(); |
| 1419 | 1419 |
| 1420 // 3. Raise a TypeError if the receiver is not a date. | 1420 // 3. Raise a TypeError if the receiver is not a date. |
| 1421 __ bind(&receiver_not_date); | 1421 __ bind(&receiver_not_date); |
| 1422 __ TailCallRuntime(Runtime::kThrowNotDateError); | 1422 __ TailCallRuntime(Runtime::kThrowNotDateError); |
| 1423 } | 1423 } |
| 1424 | 1424 |
| 1425 | 1425 |
| 1426 // static | 1426 // static |
| 1427 void Builtins::Generate_FunctionPrototypeApply(MacroAssembler* masm) { | 1427 void Builtins::Generate_FunctionPrototypeApply(MacroAssembler* masm) { |
| 1428 // ----------- S t a t e ------------- | 1428 // ----------- S t a t e ------------- |
| (...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2456 } | 2456 } |
| 2457 } | 2457 } |
| 2458 | 2458 |
| 2459 | 2459 |
| 2460 #undef __ | 2460 #undef __ |
| 2461 | 2461 |
| 2462 } // namespace internal | 2462 } // namespace internal |
| 2463 } // namespace v8 | 2463 } // namespace v8 |
| 2464 | 2464 |
| 2465 #endif // V8_TARGET_ARCH_MIPS64 | 2465 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |