Index: test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden b/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden |
index 4d04f6a3fae31dfd61b5bd2877cf860cc553688c..d42d0e8b174c43e4abbb3a8aa3393aa0a3e69149 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden |
@@ -12,14 +12,16 @@ snippet: " |
function f() { return global &= 1; } |
f(); |
" |
-frame size: 1 |
+frame size: 2 |
parameter count: 1 |
-bytecode array length: 14 |
+bytecode array length: 18 |
bytecodes: [ |
/* 26 E> */ B(StackCheck), |
- /* 31 S> */ B(LdaGlobal), U8(0), U8(2), |
+ /* 31 S> */ B(LdaConstant), U8(0), |
B(Star), R(0), |
- B(BitwiseAndSmi), I8(1), R(0), U8(4), |
+ B(LdaGlobal), U8(0), U8(2), |
+ B(Star), R(1), |
+ B(BitwiseAndSmi), I8(1), R(1), U8(4), |
/* 45 E> */ B(StaGlobalSloppy), U8(0), U8(5), |
/* 51 S> */ B(Return), |
] |
@@ -35,14 +37,16 @@ snippet: " |
function f() { return unallocated += 1; } |
f(); |
" |
-frame size: 1 |
+frame size: 2 |
parameter count: 1 |
-bytecode array length: 14 |
+bytecode array length: 18 |
bytecodes: [ |
/* 27 E> */ B(StackCheck), |
- /* 32 S> */ B(LdaGlobal), U8(0), U8(2), |
+ /* 32 S> */ B(LdaConstant), U8(0), |
B(Star), R(0), |
- B(AddSmi), I8(1), R(0), U8(4), |
+ B(LdaGlobal), U8(0), U8(2), |
+ B(Star), R(1), |
+ B(AddSmi), I8(1), R(1), U8(4), |
/* 51 E> */ B(StaGlobalSloppy), U8(0), U8(5), |
/* 57 S> */ B(Return), |
] |