2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var global = 1;
|
|
|
|
function f() { return global &= 1; }
|
|
|
|
f();
|
|
|
|
"
|
2017-04-10 09:30:51 +00:00
|
|
|
frame size: 0
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecode array length: 11
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 26 E> */ B(StackCheck),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 31 S> */ B(LdaGlobal), U8(0), U8(0),
|
|
|
|
B(BitwiseAndSmi), I8(1), U8(2),
|
2017-12-13 21:44:29 +00:00
|
|
|
/* 45 E> */ B(StaGlobal), U8(0), U8(3),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 50 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["global"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
unallocated = 1;
|
|
|
|
function f() { return unallocated += 1; }
|
|
|
|
f();
|
|
|
|
"
|
2017-04-10 09:30:51 +00:00
|
|
|
frame size: 0
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecode array length: 11
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 27 E> */ B(StackCheck),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 32 S> */ B(LdaGlobal), U8(0), U8(0),
|
|
|
|
B(AddSmi), I8(1), U8(2),
|
2017-12-13 21:44:29 +00:00
|
|
|
/* 51 E> */ B(StaGlobal), U8(0), U8(3),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 56 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["unallocated"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|