Index: test/mjsunit/external-array.js |
diff --git a/test/mjsunit/external-array.js b/test/mjsunit/external-array.js |
index ab5435e5d653a8fb2447a3cd3271f63b3dc15fb8..108b9f2e68ec985bb8cc00b9aac1738bc2d91106 100644 |
--- a/test/mjsunit/external-array.js |
+++ b/test/mjsunit/external-array.js |
@@ -530,6 +530,7 @@ assertThrows(function() { ArrayBuffer.apply(null, [1000]); }, TypeError); |
assertThrows(function() { Float32Array.apply(null, [b, 128, 1]); }, TypeError); |
// Test array.set in different combinations. |
+var b = new ArrayBuffer(4) |
function assertArrayPrefix(expected, array) { |
for (var i = 0; i < expected.length; ++i) { |