blob: 6e94467ab884362bd9c71234238ca7b5bb25d6b7 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
arr = new Uint8Array(0x40000);
var obj = {x : 1.1};
function test2()
{
return obj.x;
}
function test()
{
function test1()
{
for(var i=0; i < arr.length; i++)
{
arr[i] = arr[i+1] = arr[i+2] = Math.floor(test2() / 4294967295 * 128), arr[i + 3] = 255;
}
}
test1(arr);
}
test();
print("passed");