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

Unified Diff: runtime/vm/object_store.cc

Issue 8429027: Add an external array type to support typed arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address final review comments Created 9 years, 1 month 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
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.cc
diff --git a/runtime/vm/object_store.cc b/runtime/vm/object_store.cc
index 6974c1b441230263cde8f3018c2f2781b1cc928c..08843ff3fee1ee938526f067416c4d9fcf93c369 100644
--- a/runtime/vm/object_store.cc
+++ b/runtime/vm/object_store.cc
@@ -77,6 +77,7 @@ RawClass* ObjectStore::GetClass(int index) {
case kBoolClass: return bool_class_;
case kArrayClass: return array_class_;
case kImmutableArrayClass: return immutable_array_class_;
+ case kByteBufferClass: return byte_buffer_class_;
case kUnhandledExceptionClass: return unhandled_exception_class_;
case kStacktraceClass: return stacktrace_class_;
case kJSRegExpClass: return jsregexp_class_;
@@ -111,6 +112,8 @@ int ObjectStore::GetClassIndex(const RawClass* raw_class) {
return kArrayClass;
} else if (raw_class == immutable_array_class_) {
return kImmutableArrayClass;
+ } else if (raw_class == byte_buffer_class_) {
+ return kByteBufferClass;
} else if (raw_class == unhandled_exception_class_) {
return kUnhandledExceptionClass;
} else if (raw_class == stacktrace_class_) {
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698