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

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

Issue 3000333002: Fix several bugs in closure conversion. (Closed)
Patch Set: Comments. Created 3 years, 4 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 | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/kernel_binary_flowgraph.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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_BINARY_FLOWGRAPH_H_ 5 #ifndef RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ 6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
7 7
8 #if !defined(DART_PRECOMPILED_RUNTIME) 8 #if !defined(DART_PRECOMPILED_RUNTIME)
9 9
10 #include <map> 10 #include <map>
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 Value* stack(); 871 Value* stack();
872 void Push(Definition* definition); 872 void Push(Definition* definition);
873 Value* Pop(); 873 Value* Pop();
874 874
875 Tag PeekArgumentsFirstPositionalTag(); 875 Tag PeekArgumentsFirstPositionalTag();
876 const TypeArguments& PeekArgumentsInstantiatedType(const Class& klass); 876 const TypeArguments& PeekArgumentsInstantiatedType(const Class& klass);
877 intptr_t PeekArgumentsCount(); 877 intptr_t PeekArgumentsCount();
878 intptr_t PeekArgumentsTypeCount(); 878 intptr_t PeekArgumentsTypeCount();
879 void SkipArgumentsBeforeActualArguments(); 879 void SkipArgumentsBeforeActualArguments();
880 880
881 LocalVariable* LookupParameterDirect(intptr_t kernel_offset,
882 intptr_t parameter_index);
881 LocalVariable* LookupVariable(intptr_t kernel_offset); 883 LocalVariable* LookupVariable(intptr_t kernel_offset);
882 LocalVariable* MakeTemporary(); 884 LocalVariable* MakeTemporary();
883 Token::Kind MethodKind(const String& name); 885 Token::Kind MethodKind(const String& name);
884 RawFunction* LookupMethodByMember(NameIndex target, 886 RawFunction* LookupMethodByMember(NameIndex target,
885 const String& method_name); 887 const String& method_name);
886 888
887 bool NeedsDebugStepCheck(const Function& function, TokenPosition position); 889 bool NeedsDebugStepCheck(const Function& function, TokenPosition position);
888 bool NeedsDebugStepCheck(Value* value, TokenPosition position); 890 bool NeedsDebugStepCheck(Value* value, TokenPosition position);
889 891
890 void InlineBailout(const char* reason); 892 void InlineBailout(const char* reason);
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 const uint8_t* saved_raw_buffer_; 1131 const uint8_t* saved_raw_buffer_;
1130 const TypedData* saved_typed_data_; 1132 const TypedData* saved_typed_data_;
1131 intptr_t saved_offset_; 1133 intptr_t saved_offset_;
1132 }; 1134 };
1133 1135
1134 } // namespace kernel 1136 } // namespace kernel
1135 } // namespace dart 1137 } // namespace dart
1136 1138
1137 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1139 #endif // !defined(DART_PRECOMPILED_RUNTIME)
1138 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ 1140 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/kernel_binary_flowgraph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698