| 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 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2022 case ClassLiteral::Property::GETTER: | 2022 case ClassLiteral::Property::GETTER: |
| 2023 PushOperand(Smi::FromInt(DONT_ENUM)); | 2023 PushOperand(Smi::FromInt(DONT_ENUM)); |
| 2024 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); | 2024 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); |
| 2025 break; | 2025 break; |
| 2026 | 2026 |
| 2027 case ClassLiteral::Property::SETTER: | 2027 case ClassLiteral::Property::SETTER: |
| 2028 PushOperand(Smi::FromInt(DONT_ENUM)); | 2028 PushOperand(Smi::FromInt(DONT_ENUM)); |
| 2029 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); | 2029 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); |
| 2030 break; | 2030 break; |
| 2031 | 2031 |
| 2032 case ClassLiteral::Property::FIELD: |
| 2032 default: | 2033 default: |
| 2033 UNREACHABLE(); | 2034 UNREACHABLE(); |
| 2034 } | 2035 } |
| 2035 } | 2036 } |
| 2036 } | 2037 } |
| 2037 | 2038 |
| 2038 | 2039 |
| 2039 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { | 2040 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
| 2040 __ mov(a0, result_register()); | 2041 __ mov(a0, result_register()); |
| 2041 PopOperand(a1); | 2042 PopOperand(a1); |
| (...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3745 reinterpret_cast<uint64_t>( | 3746 reinterpret_cast<uint64_t>( |
| 3746 isolate->builtins()->OnStackReplacement()->entry())); | 3747 isolate->builtins()->OnStackReplacement()->entry())); |
| 3747 return ON_STACK_REPLACEMENT; | 3748 return ON_STACK_REPLACEMENT; |
| 3748 } | 3749 } |
| 3749 | 3750 |
| 3750 | 3751 |
| 3751 } // namespace internal | 3752 } // namespace internal |
| 3752 } // namespace v8 | 3753 } // namespace v8 |
| 3753 | 3754 |
| 3754 #endif // V8_TARGET_ARCH_MIPS64 | 3755 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |