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

Side by Side Diff: vm/raw_object.h

Issue 10807078: Address review comments from a previous CL. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 V(ExternalInt8Array) \ 78 V(ExternalInt8Array) \
79 V(ExternalUint8Array) \ 79 V(ExternalUint8Array) \
80 V(ExternalInt16Array) \ 80 V(ExternalInt16Array) \
81 V(ExternalUint16Array) \ 81 V(ExternalUint16Array) \
82 V(ExternalInt32Array) \ 82 V(ExternalInt32Array) \
83 V(ExternalUint32Array) \ 83 V(ExternalUint32Array) \
84 V(ExternalInt64Array) \ 84 V(ExternalInt64Array) \
85 V(ExternalUint64Array) \ 85 V(ExternalUint64Array) \
86 V(ExternalFloat32Array) \ 86 V(ExternalFloat32Array) \
87 V(ExternalFloat64Array) \ 87 V(ExternalFloat64Array) \
88 V(Closure) \
89 V(Stacktrace) \ 88 V(Stacktrace) \
90 V(JSRegExp) \ 89 V(JSRegExp) \
90 V(Closure) \
91 91
92 #define CLASS_LIST(V) \ 92 #define CLASS_LIST(V) \
93 V(Object) \ 93 V(Object) \
94 CLASS_LIST_NO_OBJECT(V) 94 CLASS_LIST_NO_OBJECT(V)
95 95
96 96
97 // Forward declarations. 97 // Forward declarations.
98 class Isolate; 98 class Isolate;
99 #define DEFINE_FORWARD_DECLARATION(clazz) \ 99 #define DEFINE_FORWARD_DECLARATION(clazz) \
100 class Raw##clazz; 100 class Raw##clazz;
(...skipping 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 kExternalInt8Array == kByteArray + 11 && 1509 kExternalInt8Array == kByteArray + 11 &&
1510 kExternalUint8Array == kByteArray + 12 && 1510 kExternalUint8Array == kByteArray + 12 &&
1511 kExternalInt16Array == kByteArray + 13 && 1511 kExternalInt16Array == kByteArray + 13 &&
1512 kExternalUint16Array == kByteArray + 14 && 1512 kExternalUint16Array == kByteArray + 14 &&
1513 kExternalInt32Array == kByteArray + 15 && 1513 kExternalInt32Array == kByteArray + 15 &&
1514 kExternalUint32Array == kByteArray + 16 && 1514 kExternalUint32Array == kByteArray + 16 &&
1515 kExternalInt64Array == kByteArray + 17 && 1515 kExternalInt64Array == kByteArray + 17 &&
1516 kExternalUint64Array == kByteArray + 18 && 1516 kExternalUint64Array == kByteArray + 18 &&
1517 kExternalFloat32Array == kByteArray + 19 && 1517 kExternalFloat32Array == kByteArray + 19 &&
1518 kExternalFloat64Array == kByteArray + 20 && 1518 kExternalFloat64Array == kByteArray + 20 &&
1519 kClosure == kByteArray + 21); 1519 kStacktrace == kByteArray + 21);
1520 return (index >= kByteArray && index <= kClosure); 1520 return (index >= kByteArray && index < kStacktrace);
1521 } 1521 }
1522 1522
1523 } // namespace dart 1523 } // namespace dart
1524 1524
1525 #endif // VM_RAW_OBJECT_H_ 1525 #endif // VM_RAW_OBJECT_H_
OLDNEW
« vm/object.cc ('K') | « vm/object_store.cc ('k') | vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698