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

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

Issue 2790603002: VM [KERNEL] Elide null-initialization of the fields (Closed)
Patch Set: Created 3 years, 8 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') | runtime/vm/kernel_to_il.cc » ('J')
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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 812
813 TargetEntryInstr* BuildTargetEntry(); 813 TargetEntryInstr* BuildTargetEntry();
814 JoinEntryInstr* BuildJoinEntry(); 814 JoinEntryInstr* BuildJoinEntry();
815 JoinEntryInstr* BuildJoinEntry(intptr_t try_index); 815 JoinEntryInstr* BuildJoinEntry(intptr_t try_index);
816 816
817 Fragment TranslateArguments(Arguments* node, Array* argument_names); 817 Fragment TranslateArguments(Arguments* node, Array* argument_names);
818 ArgumentArray GetArguments(int count); 818 ArgumentArray GetArguments(int count);
819 819
820 Fragment TranslateInitializers(Class* kernel_klass, 820 Fragment TranslateInitializers(Class* kernel_klass,
821 List<Initializer>* initialiers); 821 List<Initializer>* initialiers);
822 Fragment TranslateFieldInitializer(Field* field, Expression* init);
822 823
823 Fragment TranslateStatement(Statement* statement); 824 Fragment TranslateStatement(Statement* statement);
824 Fragment TranslateCondition(Expression* expression, bool* negate); 825 Fragment TranslateCondition(Expression* expression, bool* negate);
825 Fragment TranslateExpression(Expression* expression); 826 Fragment TranslateExpression(Expression* expression);
826 827
827 Fragment TranslateFinallyFinalizers(TryFinallyBlock* outer_finally, 828 Fragment TranslateFinallyFinalizers(TryFinallyBlock* outer_finally,
828 intptr_t target_context_depth); 829 intptr_t target_context_depth);
829 830
830 Fragment TranslateFunctionNode(FunctionNode* node, TreeNode* parent); 831 Fragment TranslateFunctionNode(FunctionNode* node, TreeNode* parent);
831 832
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 namespace kernel { 1078 namespace kernel {
1078 1079
1079 RawObject* EvaluateMetadata(TreeNode* const kernel_node); 1080 RawObject* EvaluateMetadata(TreeNode* const kernel_node);
1080 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); 1081 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node);
1081 1082
1082 } // namespace kernel 1083 } // namespace kernel
1083 } // namespace dart 1084 } // namespace dart
1084 1085
1085 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1086 #endif // !defined(DART_PRECOMPILED_RUNTIME)
1086 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 1087 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | runtime/vm/kernel_to_il.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698