Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: runtime/vm/kernel_to_il.h

Issue 2623143003: VM: [Kernel] Make type literals which refer to type parameters work (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 Fragment EnterScope(TreeNode* node, bool* new_context = NULL); 737 Fragment EnterScope(TreeNode* node, bool* new_context = NULL);
738 Fragment ExitScope(TreeNode* node); 738 Fragment ExitScope(TreeNode* node);
739 739
740 Fragment LoadContextAt(int depth); 740 Fragment LoadContextAt(int depth);
741 Fragment AdjustContextTo(int depth); 741 Fragment AdjustContextTo(int depth);
742 742
743 Fragment PushContext(int size); 743 Fragment PushContext(int size);
744 Fragment PopContext(); 744 Fragment PopContext();
745 745
746 Fragment LoadInstantiatorTypeArguments(); 746 Fragment LoadInstantiatorTypeArguments();
747 Fragment InstantiateType(const AbstractType& type);
747 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); 748 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments);
748 Fragment TranslateInstantiatedTypeArguments( 749 Fragment TranslateInstantiatedTypeArguments(
749 const TypeArguments& type_arguments); 750 const TypeArguments& type_arguments);
750 751
751 Fragment AllocateContext(int size); 752 Fragment AllocateContext(int size);
752 Fragment AllocateObject(const dart::Class& klass, intptr_t argument_count); 753 Fragment AllocateObject(const dart::Class& klass, intptr_t argument_count);
753 Fragment AllocateObject(const dart::Class& klass, 754 Fragment AllocateObject(const dart::Class& klass,
754 const Function& closure_function); 755 const Function& closure_function);
755 Fragment BooleanNegate(); 756 Fragment BooleanNegate();
756 Fragment StrictCompare(Token::Kind kind, bool number_check = false); 757 Fragment StrictCompare(Token::Kind kind, bool number_check = false);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 friend class SwitchBlock; 942 friend class SwitchBlock;
942 friend class TryCatchBlock; 943 friend class TryCatchBlock;
943 friend class TryFinallyBlock; 944 friend class TryFinallyBlock;
944 }; 945 };
945 946
946 } // namespace kernel 947 } // namespace kernel
947 } // namespace dart 948 } // namespace dart
948 949
949 #endif // !defined(DART_PRECOMPILED_RUNTIME) 950 #endif // !defined(DART_PRECOMPILED_RUNTIME)
950 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 951 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698