Index: test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
index 73c2e62f9ce0b52d3ce12abb1376e7437216572a..55f9ea9c13f4e9fc9d94aa26ef0cffd289b32746 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden |
@@ -13,12 +13,12 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 9 |
+bytecode array length: 10 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
B(Star), R(0), |
- /* 45 S> */ B(Inc), |
+ /* 45 S> */ B(Inc), U8(1), |
B(Star), R(0), |
/* 57 S> */ B(Return), |
] |
@@ -33,13 +33,13 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 13 |
+bytecode array length: 14 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
B(Star), R(0), |
/* 45 S> */ B(ToNumber), R(1), |
- B(Inc), |
+ B(Inc), U8(1), |
B(Star), R(0), |
B(Ldar), R(1), |
/* 57 S> */ B(Return), |
@@ -55,12 +55,12 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 9 |
+bytecode array length: 10 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
B(Star), R(0), |
- /* 45 S> */ B(Dec), |
+ /* 45 S> */ B(Dec), U8(1), |
B(Star), R(0), |
/* 57 S> */ B(Return), |
] |
@@ -75,13 +75,13 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 13 |
+bytecode array length: 14 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), U8(1), |
B(Star), R(0), |
/* 45 S> */ B(ToNumber), R(1), |
- B(Dec), |
+ B(Dec), U8(1), |
B(Star), R(0), |
B(Ldar), R(1), |
/* 57 S> */ B(Return), |
@@ -97,7 +97,7 @@ snippet: " |
" |
frame size: 3 |
parameter count: 1 |
-bytecode array length: 23 |
+bytecode array length: 24 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
@@ -105,7 +105,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(1), |
B(ToNumber), R(2), |
- B(Inc), |
+ B(Inc), U8(5), |
/* 66 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3), |
B(Ldar), R(2), |
/* 70 S> */ B(Return), |
@@ -123,14 +123,14 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 19 |
+bytecode array length: 20 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
B(Star), R(1), |
B(Star), R(0), |
/* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(1), |
- B(Dec), |
+ B(Dec), U8(5), |
/* 65 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3), |
/* 70 S> */ B(Return), |
] |
@@ -147,7 +147,7 @@ snippet: " |
" |
frame size: 5 |
parameter count: 1 |
-bytecode array length: 28 |
+bytecode array length: 29 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 45 S> */ B(LdaConstant), U8(0), |
@@ -158,7 +158,7 @@ bytecodes: [ |
/* 72 S> */ B(Ldar), R(0), |
/* 81 E> */ B(LdaKeyedProperty), R(1), U8(1), |
B(ToNumber), R(4), |
- B(Dec), |
+ B(Dec), U8(5), |
/* 86 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3), |
B(Ldar), R(4), |
/* 90 S> */ B(Return), |
@@ -176,7 +176,7 @@ snippet: " |
" |
frame size: 3 |
parameter count: 1 |
-bytecode array length: 24 |
+bytecode array length: 25 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 45 S> */ B(LdaConstant), U8(0), |
@@ -186,7 +186,7 @@ bytecodes: [ |
B(Star), R(1), |
/* 72 S> */ B(Ldar), R(0), |
/* 83 E> */ B(LdaKeyedProperty), R(1), U8(1), |
- B(Inc), |
+ B(Inc), U8(5), |
/* 87 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3), |
/* 90 S> */ B(Return), |
] |
@@ -203,7 +203,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 1 |
-bytecode array length: 23 |
+bytecode array length: 24 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(1), |
@@ -213,7 +213,7 @@ bytecodes: [ |
/* 53 S> */ B(CreateClosure), U8(0), U8(2), |
B(Star), R(0), |
/* 78 S> */ B(LdaContextSlot), R(context), U8(4), |
- B(Inc), |
+ B(Inc), U8(1), |
/* 87 E> */ B(StaContextSlot), R(context), U8(4), |
/* 90 S> */ B(Return), |
] |
@@ -229,7 +229,7 @@ snippet: " |
" |
frame size: 3 |
parameter count: 1 |
-bytecode array length: 27 |
+bytecode array length: 28 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(1), |
@@ -240,7 +240,7 @@ bytecodes: [ |
B(Star), R(0), |
/* 78 S> */ B(LdaContextSlot), R(context), U8(4), |
B(ToNumber), R(2), |
- B(Dec), |
+ B(Dec), U8(1), |
/* 86 E> */ B(StaContextSlot), R(context), U8(4), |
B(Ldar), R(2), |
/* 90 S> */ B(Return), |
@@ -257,7 +257,7 @@ snippet: " |
" |
frame size: 4 |
parameter count: 1 |
-bytecode array length: 25 |
+bytecode array length: 26 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 44 S> */ B(LdaSmi), U8(1), |
@@ -266,10 +266,10 @@ bytecodes: [ |
B(Star), R(1), |
/* 63 S> */ B(Ldar), R(0), |
B(ToNumber), R(3), |
- B(Inc), |
+ B(Inc), U8(1), |
B(Star), R(0), |
B(LdaSmi), U8(2), |
- /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), |
+ /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(2), |
/* 84 S> */ B(Return), |
] |
constant pool: [ |