Permalink
Browse files

Don't treat DataViews as typed arrays, bug 785776. r=dvander a=akeybl

  • Loading branch information...
1 parent 70c2760 commit 29054f2a0b40d0891c40c20423be64d5be70ce99 @bhackett1024 bhackett1024 committed Aug 29, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 js/src/jsinferinlines.h
View
1 js/src/jsinferinlines.h
@@ -1307,7 +1307,6 @@ TypeObject::setFlagsFromKey(JSContext *cx, JSProtoKey key)
case JSProto_Float32Array:
case JSProto_Float64Array:
case JSProto_Uint8ClampedArray:
- case JSProto_DataView:
flags = OBJECT_FLAG_NON_DENSE_ARRAY
| OBJECT_FLAG_NON_PACKED_ARRAY
| OBJECT_FLAG_NON_DOM;

0 comments on commit 29054f2

Please sign in to comment.