| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
| 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 1909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 case ClassLiteral::Property::GETTER: | 1920 case ClassLiteral::Property::GETTER: |
| 1921 PushOperand(Smi::FromInt(DONT_ENUM)); | 1921 PushOperand(Smi::FromInt(DONT_ENUM)); |
| 1922 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); | 1922 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); |
| 1923 break; | 1923 break; |
| 1924 | 1924 |
| 1925 case ClassLiteral::Property::SETTER: | 1925 case ClassLiteral::Property::SETTER: |
| 1926 PushOperand(Smi::FromInt(DONT_ENUM)); | 1926 PushOperand(Smi::FromInt(DONT_ENUM)); |
| 1927 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); | 1927 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); |
| 1928 break; | 1928 break; |
| 1929 | 1929 |
| 1930 case ClassLiteral::Property::FIELD: |
| 1930 default: | 1931 default: |
| 1931 UNREACHABLE(); | 1932 UNREACHABLE(); |
| 1932 } | 1933 } |
| 1933 } | 1934 } |
| 1934 } | 1935 } |
| 1935 | 1936 |
| 1936 | 1937 |
| 1937 void FullCodeGenerator::EmitAssignment(Expression* expr, | 1938 void FullCodeGenerator::EmitAssignment(Expression* expr, |
| 1938 FeedbackVectorSlot slot) { | 1939 FeedbackVectorSlot slot) { |
| 1939 DCHECK(expr->IsValidReferenceExpressionOrThis()); | 1940 DCHECK(expr->IsValidReferenceExpressionOrThis()); |
| (...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3807 } | 3808 } |
| 3808 | 3809 |
| 3809 return INTERRUPT; | 3810 return INTERRUPT; |
| 3810 } | 3811 } |
| 3811 | 3812 |
| 3812 | 3813 |
| 3813 } // namespace internal | 3814 } // namespace internal |
| 3814 } // namespace v8 | 3815 } // namespace v8 |
| 3815 | 3816 |
| 3816 #endif // V8_TARGET_ARCH_ARM64 | 3817 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |