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

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

Issue 2931773005: [kernel] Delete most of the AST (Closed)
Patch Set: Remove getMainClosure handeling as it no longer exists Created 3 years, 6 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_RAW_OBJECT_H_ 5 #ifndef RUNTIME_VM_RAW_OBJECT_H_
6 #define RUNTIME_VM_RAW_OBJECT_H_ 6 #define RUNTIME_VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/exceptions.h" 10 #include "vm/exceptions.h"
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 UNREACHABLE(); 1094 UNREACHABLE();
1095 return NULL; 1095 return NULL;
1096 } 1096 }
1097 1097
1098 int32_t line_offset_; 1098 int32_t line_offset_;
1099 int32_t col_offset_; 1099 int32_t col_offset_;
1100 int8_t kind_; // Of type Kind. 1100 int8_t kind_; // Of type Kind.
1101 int64_t load_timestamp_; 1101 int64_t load_timestamp_;
1102 const uint8_t* kernel_data_; 1102 const uint8_t* kernel_data_;
1103 intptr_t kernel_data_size_; 1103 intptr_t kernel_data_size_;
1104 intptr_t kernel_script_index_;
1104 }; 1105 };
1105 1106
1106 1107
1107 class RawLibrary : public RawObject { 1108 class RawLibrary : public RawObject {
1108 enum LibraryState { 1109 enum LibraryState {
1109 kAllocated, // Initial state. 1110 kAllocated, // Initial state.
1110 kLoadRequested, // Compiler or script requested load of library. 1111 kLoadRequested, // Compiler or script requested load of library.
1111 kLoadInProgress, // Library is in the process of being loaded. 1112 kLoadInProgress, // Library is in the process of being loaded.
1112 kLoaded, // Library is loaded. 1113 kLoaded, // Library is loaded.
1113 kLoadError, // Error occurred during load of the Library. 1114 kLoadError, // Error occurred during load of the Library.
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 kTypedDataInt8ArrayViewCid + 15); 2522 kTypedDataInt8ArrayViewCid + 15);
2522 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2523 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2523 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2524 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2524 return (kNullCid - kTypedDataInt8ArrayCid); 2525 return (kNullCid - kTypedDataInt8ArrayCid);
2525 } 2526 }
2526 2527
2527 2528
2528 } // namespace dart 2529 } // namespace dart
2529 2530
2530 #endif // RUNTIME_VM_RAW_OBJECT_H_ 2531 #endif // RUNTIME_VM_RAW_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698