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

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

Issue 3001093002: Remove some "namespace" classes from C++ Kernel (Closed)
Patch Set: 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
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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 dart::RawFunction* LookupMethodByMember(NameIndex target, 606 dart::RawFunction* LookupMethodByMember(NameIndex target,
607 const dart::String& method_name); 607 const dart::String& method_name);
608 608
609 LocalVariable* MakeTemporary(); 609 LocalVariable* MakeTemporary();
610 LocalVariable* MakeNonTemporary(const dart::String& symbol); 610 LocalVariable* MakeNonTemporary(const dart::String& symbol);
611 611
612 intptr_t CurrentTryIndex(); 612 intptr_t CurrentTryIndex();
613 intptr_t AllocateTryIndex() { return next_used_try_index_++; } 613 intptr_t AllocateTryIndex() { return next_used_try_index_++; }
614 614
615 dart::LocalVariable* LookupVariable(VariableDeclaration* var);
616 dart::LocalVariable* LookupVariable(intptr_t kernel_offset); 615 dart::LocalVariable* LookupVariable(intptr_t kernel_offset);
617 616
618 void SetTempIndex(Definition* definition); 617 void SetTempIndex(Definition* definition);
619 618
620 void Push(Definition* definition); 619 void Push(Definition* definition);
621 Value* Pop(); 620 Value* Pop();
622 Fragment Drop(); 621 Fragment Drop();
623 622
624 bool IsInlining() { return exit_collector_ != NULL; } 623 bool IsInlining() { return exit_collector_ != NULL; }
625 624
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 namespace kernel { 942 namespace kernel {
944 943
945 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 944 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
946 RawObject* BuildParameterDescriptor(const Function& function); 945 RawObject* BuildParameterDescriptor(const Function& function);
947 946
948 } // namespace kernel 947 } // namespace kernel
949 } // namespace dart 948 } // namespace dart
950 949
951 #endif // !defined(DART_PRECOMPILED_RUNTIME) 950 #endif // !defined(DART_PRECOMPILED_RUNTIME)
952 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 951 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« runtime/vm/kernel_binary_flowgraph.h ('K') | « runtime/vm/kernel_reader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698