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

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

Issue 2886873008: [kernel] Streaming ScopeBuilder (Closed)
Patch Set: Created 3 years, 7 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) 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_H_ 5 #ifndef RUNTIME_VM_KERNEL_BINARY_H_
6 #define RUNTIME_VM_KERNEL_BINARY_H_ 6 #define RUNTIME_VM_KERNEL_BINARY_H_
7 7
8 #if !defined(DART_PRECOMPILED_RUNTIME) 8 #if !defined(DART_PRECOMPILED_RUNTIME)
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "vm/kernel.h" 12 #include "vm/kernel.h"
13 #include "vm/kernel_to_il.h" 13 #include "vm/kernel_to_il.h"
14 #include "vm/object.h" 14 #include "vm/object.h"
15 15
16 namespace dart { 16 namespace dart {
17 namespace kernel { 17 namespace kernel {
18 18
19 19
20 static const uint32_t kMagicProgramFile = 0x90ABCDEFu; 20 static const uint32_t kMagicProgramFile = 0x90ABCDEFu;
21 21
22 22
23 // Keep in sync with package:dynamo/lib/binary/tag.dart 23 // Keep in sync with package:dynamo/lib/binary/tag.dart
24 enum Tag { 24 enum Tag {
25 kNothing = 0, 25 kNothing = 0,
26 kSomething = 1, 26 kSomething = 1,
27 27
28 kClass = 2, 28 kClass = 2,
29 29
30 kFunctionNode = 3,
30 kField = 4, 31 kField = 4,
31 kConstructor = 5, 32 kConstructor = 5,
32 kProcedure = 6, 33 kProcedure = 6,
33 34
34 kInvalidInitializer = 7, 35 kInvalidInitializer = 7,
35 kFieldInitializer = 8, 36 kFieldInitializer = 8,
36 kSuperInitializer = 9, 37 kSuperInitializer = 9,
37 kRedirectingInitializer = 10, 38 kRedirectingInitializer = 10,
38 kLocalInitializer = 11, 39 kLocalInitializer = 11,
39 40
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 Reader* reader_; 582 Reader* reader_;
582 TokenPosition min_; 583 TokenPosition min_;
583 TokenPosition max_; 584 TokenPosition max_;
584 }; 585 };
585 586
586 } // namespace kernel 587 } // namespace kernel
587 } // namespace dart 588 } // namespace dart
588 589
589 #endif // !defined(DART_PRECOMPILED_RUNTIME) 590 #endif // !defined(DART_PRECOMPILED_RUNTIME)
590 #endif // RUNTIME_VM_KERNEL_BINARY_H_ 591 #endif // RUNTIME_VM_KERNEL_BINARY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698