| 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 // Note on Mips implementation: |     7 // Note on Mips implementation: | 
|     8 // |     8 // | 
|     9 // The result_register() for mips is the 'v0' register, which is defined |     9 // The result_register() for mips is the 'v0' register, which is defined | 
|    10 // by the ABI to contain function return values. However, the first |    10 // by the ABI to contain function return values. However, the first | 
| (...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1418   __ ld(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |  1418   __ ld(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 
|  1419   __ li(a2, Operand(Smi::FromInt(expr->literal_index()))); |  1419   __ li(a2, Operand(Smi::FromInt(expr->literal_index()))); | 
|  1420   __ li(a1, Operand(constant_properties)); |  1420   __ li(a1, Operand(constant_properties)); | 
|  1421   __ li(a0, Operand(Smi::FromInt(expr->ComputeFlags()))); |  1421   __ li(a0, Operand(Smi::FromInt(expr->ComputeFlags()))); | 
|  1422   if (MustCreateObjectLiteralWithRuntime(expr)) { |  1422   if (MustCreateObjectLiteralWithRuntime(expr)) { | 
|  1423     __ Push(a3, a2, a1, a0); |  1423     __ Push(a3, a2, a1, a0); | 
|  1424     __ CallRuntime(Runtime::kCreateObjectLiteral); |  1424     __ CallRuntime(Runtime::kCreateObjectLiteral); | 
|  1425   } else { |  1425   } else { | 
|  1426     FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); |  1426     FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); | 
|  1427     __ CallStub(&stub); |  1427     __ CallStub(&stub); | 
|  1428     __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |  1428     __ ld(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); | 
|  1429   } |  1429   } | 
|  1430   PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |  1430   PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); | 
|  1431  |  1431  | 
|  1432   // If result_saved is true the result is on top of the stack.  If |  1432   // If result_saved is true the result is on top of the stack.  If | 
|  1433   // result_saved is false the result is in v0. |  1433   // result_saved is false the result is in v0. | 
|  1434   bool result_saved = false; |  1434   bool result_saved = false; | 
|  1435  |  1435  | 
|  1436   AccessorTable accessor_table(zone()); |  1436   AccessorTable accessor_table(zone()); | 
|  1437   int property_index = 0; |  1437   int property_index = 0; | 
|  1438   for (; property_index < expr->properties()->length(); property_index++) { |  1438   for (; property_index < expr->properties()->length(); property_index++) { | 
| (...skipping 2582 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  4021          reinterpret_cast<uint64_t>( |  4021          reinterpret_cast<uint64_t>( | 
|  4022              isolate->builtins()->OnStackReplacement()->entry())); |  4022              isolate->builtins()->OnStackReplacement()->entry())); | 
|  4023   return ON_STACK_REPLACEMENT; |  4023   return ON_STACK_REPLACEMENT; | 
|  4024 } |  4024 } | 
|  4025  |  4025  | 
|  4026  |  4026  | 
|  4027 }  // namespace internal |  4027 }  // namespace internal | 
|  4028 }  // namespace v8 |  4028 }  // namespace v8 | 
|  4029  |  4029  | 
|  4030 #endif  // V8_TARGET_ARCH_MIPS64 |  4030 #endif  // V8_TARGET_ARCH_MIPS64 | 
| OLD | NEW |