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

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

Issue 9968088: Revert my last change due to problems on other platforms. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/co19/co19-runtime.status » ('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) 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 VM_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/token.h" 10 #include "vm/token.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 intptr_t token_index_; 511 intptr_t token_index_;
512 intptr_t end_token_index_; 512 intptr_t end_token_index_;
513 intptr_t num_fixed_parameters_; 513 intptr_t num_fixed_parameters_;
514 intptr_t num_optional_parameters_; 514 intptr_t num_optional_parameters_;
515 intptr_t usage_counter_; // Incremented while function is running. 515 intptr_t usage_counter_; // Incremented while function is running.
516 intptr_t deoptimization_counter_; 516 intptr_t deoptimization_counter_;
517 Kind kind_; 517 Kind kind_;
518 bool is_static_; 518 bool is_static_;
519 bool is_const_; 519 bool is_const_;
520 bool is_optimizable_; 520 bool is_optimizable_;
521 bool is_compiling_; // True while this function is being compiled.
522 }; 521 };
523 522
524 523
525 class RawField : public RawObject { 524 class RawField : public RawObject {
526 RAW_HEAP_OBJECT_IMPLEMENTATION(Field); 525 RAW_HEAP_OBJECT_IMPLEMENTATION(Field);
527 526
528 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); } 527 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
529 RawString* name_; 528 RawString* name_;
530 RawClass* owner_; 529 RawClass* owner_;
531 RawAbstractType* type_; 530 RawAbstractType* type_;
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 intptr_t type_; // Uninitialized, simple or complex. 1167 intptr_t type_; // Uninitialized, simple or complex.
1169 intptr_t flags_; // Represents global/local, case insensitive, multiline. 1168 intptr_t flags_; // Represents global/local, case insensitive, multiline.
1170 1169
1171 // Variable length data follows here. 1170 // Variable length data follows here.
1172 uint8_t data_[0]; 1171 uint8_t data_[0];
1173 }; 1172 };
1174 1173
1175 } // namespace dart 1174 } // namespace dart
1176 1175
1177 #endif // VM_RAW_OBJECT_H_ 1176 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698