| 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_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 6 | 6 |
| 7 #include "src/full-codegen/full-codegen.h" | 7 #include "src/full-codegen/full-codegen.h" |
| 8 #include "src/ast/compile-time-value.h" | 8 #include "src/ast/compile-time-value.h" |
| 9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
| 10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
| (...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2019 case ClassLiteral::Property::GETTER: | 2019 case ClassLiteral::Property::GETTER: |
| 2020 PushOperand(Smi::FromInt(DONT_ENUM)); | 2020 PushOperand(Smi::FromInt(DONT_ENUM)); |
| 2021 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); | 2021 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); |
| 2022 break; | 2022 break; |
| 2023 | 2023 |
| 2024 case ClassLiteral::Property::SETTER: | 2024 case ClassLiteral::Property::SETTER: |
| 2025 PushOperand(Smi::FromInt(DONT_ENUM)); | 2025 PushOperand(Smi::FromInt(DONT_ENUM)); |
| 2026 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); | 2026 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); |
| 2027 break; | 2027 break; |
| 2028 | 2028 |
| 2029 case ClassLiteral::Property::FIELD: |
| 2029 default: | 2030 default: |
| 2030 UNREACHABLE(); | 2031 UNREACHABLE(); |
| 2031 } | 2032 } |
| 2032 } | 2033 } |
| 2033 } | 2034 } |
| 2034 | 2035 |
| 2035 | 2036 |
| 2036 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { | 2037 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
| 2037 PopOperand(r1); | 2038 PopOperand(r1); |
| 2038 Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); | 2039 Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); |
| (...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3797 DCHECK(interrupt_address == | 3798 DCHECK(interrupt_address == |
| 3798 isolate->builtins()->OnStackReplacement()->entry()); | 3799 isolate->builtins()->OnStackReplacement()->entry()); |
| 3799 return ON_STACK_REPLACEMENT; | 3800 return ON_STACK_REPLACEMENT; |
| 3800 } | 3801 } |
| 3801 | 3802 |
| 3802 | 3803 |
| 3803 } // namespace internal | 3804 } // namespace internal |
| 3804 } // namespace v8 | 3805 } // namespace v8 |
| 3805 | 3806 |
| 3806 #endif // V8_TARGET_ARCH_ARM | 3807 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |