| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_ | 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_ |
| 6 #define RUNTIME_VM_KERNEL_TO_IL_H_ | 6 #define RUNTIME_VM_KERNEL_TO_IL_H_ |
| 7 | 7 |
| 8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 9 | 9 |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 virtual void VisitConstructorInvocation(ConstructorInvocation* node); | 407 virtual void VisitConstructorInvocation(ConstructorInvocation* node); |
| 408 virtual void VisitMethodInvocation(MethodInvocation* node); | 408 virtual void VisitMethodInvocation(MethodInvocation* node); |
| 409 virtual void VisitStaticGet(StaticGet* node); | 409 virtual void VisitStaticGet(StaticGet* node); |
| 410 virtual void VisitVariableGet(VariableGet* node); | 410 virtual void VisitVariableGet(VariableGet* node); |
| 411 virtual void VisitLet(Let* node); | 411 virtual void VisitLet(Let* node); |
| 412 virtual void VisitStaticInvocation(StaticInvocation* node); | 412 virtual void VisitStaticInvocation(StaticInvocation* node); |
| 413 virtual void VisitStringConcatenation(StringConcatenation* node); | 413 virtual void VisitStringConcatenation(StringConcatenation* node); |
| 414 virtual void VisitConditionalExpression(ConditionalExpression* node); | 414 virtual void VisitConditionalExpression(ConditionalExpression* node); |
| 415 virtual void VisitLogicalExpression(LogicalExpression* node); | 415 virtual void VisitLogicalExpression(LogicalExpression* node); |
| 416 virtual void VisitNot(Not* node); | 416 virtual void VisitNot(Not* node); |
| 417 virtual void VisitPropertyGet(PropertyGet* node); |
| 417 | 418 |
| 418 private: | 419 private: |
| 419 // This will translate type arguments form [kernel_arguments]. If no type | 420 // This will translate type arguments form [kernel_arguments]. If no type |
| 420 // arguments are passed and the [target] is a factory then the null type | 421 // arguments are passed and the [target] is a factory then the null type |
| 421 // argument array will be returned. | 422 // argument array will be returned. |
| 422 // | 423 // |
| 423 // If none of these cases apply, NULL will be returned. | 424 // If none of these cases apply, NULL will be returned. |
| 424 const TypeArguments* TranslateTypeArguments(const Function& target, | 425 const TypeArguments* TranslateTypeArguments(const Function& target, |
| 425 dart::Class* target_klass, | 426 dart::Class* target_klass, |
| 426 Arguments* kernel_arguments); | 427 Arguments* kernel_arguments); |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 friend class SwitchBlock; | 943 friend class SwitchBlock; |
| 943 friend class TryCatchBlock; | 944 friend class TryCatchBlock; |
| 944 friend class TryFinallyBlock; | 945 friend class TryFinallyBlock; |
| 945 }; | 946 }; |
| 946 | 947 |
| 947 } // namespace kernel | 948 } // namespace kernel |
| 948 } // namespace dart | 949 } // namespace dart |
| 949 | 950 |
| 950 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 951 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 951 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 952 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
| OLD | NEW |