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

Unified Diff: runtime/vm/raw_object.cc

Issue 12937010: Handle TypedDataView objects in Dart_TypedDataAcquireData and (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/raw_object.cc
===================================================================
--- runtime/vm/raw_object.cc (revision 20344)
+++ runtime/vm/raw_object.cc (working copy)
@@ -293,7 +293,8 @@
// Read the necessary data out of the class before visting the class itself.
intptr_t class_id = GetClassId();
- if (class_id < kNumPredefinedCids) {
+ if (class_id < kNumPredefinedCids &&
+ !RawObject::IsTypedDataViewClassId(class_id)) {
Ivan Posva 2013/03/22 04:50:01 We should not add an extra test into this time cri
siva 2013/03/25 17:20:35 I have removed this extra check and instead moved
switch (class_id) {
#define RAW_VISITPOINTERS(clazz) \
case clazz::kClassId: { \

Powered by Google App Engine
This is Rietveld 408576698