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

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

Issue 2664143002: Revert "Debugging in kernel shaping up." (Closed)
Patch Set: Revert "Debugging in kernel shaping up." Created 3 years, 10 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/debugger.cc ('k') | runtime/vm/kernel.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_H_ 5 #ifndef RUNTIME_VM_KERNEL_H_
6 #define RUNTIME_VM_KERNEL_H_ 6 #define RUNTIME_VM_KERNEL_H_
7 7
8 #if !defined(DART_PRECOMPILED_RUNTIME) 8 #if !defined(DART_PRECOMPILED_RUNTIME)
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
11 #include "vm/globals.h" 11 #include "vm/globals.h"
12 #include "vm/growable_array.h"
13 #include "vm/token_position.h" 12 #include "vm/token_position.h"
14 13
15 14
16 #define KERNEL_NODES_DO(M) \ 15 #define KERNEL_NODES_DO(M) \
17 M(Name) \ 16 M(Name) \
18 M(InferredValue) \ 17 M(InferredValue) \
19 M(DartType) \ 18 M(DartType) \
20 M(InvalidType) \ 19 M(InvalidType) \
21 M(DynamicType) \ 20 M(DynamicType) \
22 M(VoidType) \ 21 M(VoidType) \
(...skipping 2698 matching lines...) Expand 10 before | Expand all | Expand 10 after
2721 DEFINE_CASTING_OPERATIONS(Program); 2720 DEFINE_CASTING_OPERATIONS(Program);
2722 2721
2723 virtual void AcceptTreeVisitor(TreeVisitor* visitor); 2722 virtual void AcceptTreeVisitor(TreeVisitor* visitor);
2724 virtual void VisitChildren(Visitor* visitor); 2723 virtual void VisitChildren(Visitor* visitor);
2725 2724
2726 StringTable& string_table() { return string_table_; } 2725 StringTable& string_table() { return string_table_; }
2727 StringTable& source_uri_table() { return source_uri_table_; } 2726 StringTable& source_uri_table() { return source_uri_table_; }
2728 SourceTable& source_table() { return source_table_; } 2727 SourceTable& source_table() { return source_table_; }
2729 List<Library>& libraries() { return libraries_; } 2728 List<Library>& libraries() { return libraries_; }
2730 Procedure* main_method() { return main_method_; } 2729 Procedure* main_method() { return main_method_; }
2731 MallocGrowableArray<MallocGrowableArray<intptr_t>*> valid_token_positions;
2732 MallocGrowableArray<MallocGrowableArray<intptr_t>*> yield_token_positions;
2733 2730
2734 private: 2731 private:
2735 Program() {} 2732 Program() {}
2736 2733
2737 List<Library> libraries_; 2734 List<Library> libraries_;
2738 Ref<Procedure> main_method_; 2735 Ref<Procedure> main_method_;
2739 StringTable string_table_; 2736 StringTable string_table_;
2740 StringTable source_uri_table_; 2737 StringTable source_uri_table_;
2741 SourceTable source_table_; 2738 SourceTable source_table_;
2742 2739
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
3167 3164
3168 kernel::Program* ReadPrecompiledKernelFromBuffer(const uint8_t* buffer, 3165 kernel::Program* ReadPrecompiledKernelFromBuffer(const uint8_t* buffer,
3169 intptr_t buffer_length); 3166 intptr_t buffer_length);
3170 3167
3171 3168
3172 3169
3173 } // namespace dart 3170 } // namespace dart
3174 3171
3175 #endif // !defined(DART_PRECOMPILED_RUNTIME) 3172 #endif // !defined(DART_PRECOMPILED_RUNTIME)
3176 #endif // RUNTIME_VM_KERNEL_H_ 3173 #endif // RUNTIME_VM_KERNEL_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/kernel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698