mirror of https://github.com/tc39/test262.git
[javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 3ced8564a6 targetRevisionAtLastExport: f8c62a49f
This commit is contained in:
parent
5594c916bf
commit
5e03c6ce7b
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"sourceRevisionAtLastExport": "3ced8564a6",
|
"sourceRevisionAtLastExport": "a2f7b0c562",
|
||||||
"targetRevisionAtLastExport": "f8c62a49f",
|
"targetRevisionAtLastExport": "5594c916b",
|
||||||
"curatedFiles": {
|
"curatedFiles": {
|
||||||
"/stress/Number-isNaN-basics.js": "DELETED_IN_TARGET",
|
"/stress/Number-isNaN-basics.js": "DELETED_IN_TARGET",
|
||||||
"/stress/Object_static_methods_Object.getOwnPropertyDescriptors-proxy.js": "DELETED_IN_TARGET",
|
"/stress/Object_static_methods_Object.getOwnPropertyDescriptors-proxy.js": "DELETED_IN_TARGET",
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
//@ runDefault("--jitPolicyScale=0")
|
||||||
|
|
||||||
|
function makeTmp() {
|
||||||
|
let tmp = {a: 1};
|
||||||
|
gc();
|
||||||
|
tmp.__proto__ = {};
|
||||||
|
return tmp;
|
||||||
|
}
|
||||||
|
|
||||||
|
function foo(tmp, obj) {
|
||||||
|
for (let k in tmp) {
|
||||||
|
tmp.__proto__ = {};
|
||||||
|
gc();
|
||||||
|
obj.__proto__ = {};
|
||||||
|
|
||||||
|
var result = obj[k];
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
foo(makeTmp(), {});
|
||||||
|
|
||||||
|
let memory = new Uint32Array(100);
|
||||||
|
memory[0] = 0x1234;
|
||||||
|
|
||||||
|
let fooResult = foo(makeTmp(), memory);
|
||||||
|
var result = $vm.value(fooResult);
|
||||||
|
|
||||||
|
if (result != "Undefined")
|
||||||
|
throw "FAIL";
|
||||||
|
|
Loading…
Reference in New Issue