Revision: 14503
Author:   [email protected]
Date:     Tue Apr 30 10:50:04 2013
Log:      patch from issue 13993029
http://code.google.com/p/v8/source/detail?r=14503

Modified:
 /branches/bleeding_edge/src/typedarray.js

=======================================
--- /branches/bleeding_edge/src/typedarray.js   Mon Apr 29 09:16:31 2013
+++ /branches/bleeding_edge/src/typedarray.js   Tue Apr 30 10:50:04 2013
@@ -86,8 +86,7 @@

function CreateTypedArrayConstructor(name, elementSize, arrayId, constructor) {
   function ConstructByArrayBuffer(obj, buffer, byteOffset, length) {
-    var offset = IS_UNDEFINED(byteOffset)
-      ? 0 : offset = TO_POSITIVE_INTEGER(byteOffset);
+ var offset = IS_UNDEFINED(byteOffset) ? 0 : TO_POSITIVE_INTEGER(byteOffset);

     if (offset % elementSize !== 0) {
       throw MakeRangeError("invalid_typed_array_alignment",

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to