Index: test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden b/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden |
index 7e6f40a3b661646036c05e2147fbee226cd3b859..6ec46a0d5c8f41da535cbc444e522f8b59f577fd 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.golden |
@@ -26,17 +26,20 @@ handlers: [ |
snippet: " |
if (false) { return; }; var a = 1; |
" |
-frame size: 1 |
+frame size: 2 |
parameter count: 1 |
-bytecode array length: 7 |
+bytecode array length: 11 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
- /* 66 S> */ B(LdaSmi), I8(1), |
+ /* 66 S> */ B(LdaConstant), U8(0), |
+ B(Star), R(1), |
+ B(LdaSmi), I8(1), |
B(Star), R(0), |
B(LdaUndefined), |
/* 69 S> */ B(Return), |
] |
constant pool: [ |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
] |
handlers: [ |
] |
@@ -62,12 +65,14 @@ handlers: [ |
snippet: " |
var a = 1; if (a) { return 1; }; return 2; |
" |
-frame size: 1 |
+frame size: 2 |
parameter count: 1 |
-bytecode array length: 13 |
+bytecode array length: 17 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
- /* 42 S> */ B(LdaSmi), I8(1), |
+ /* 42 S> */ B(LdaConstant), U8(0), |
+ B(Star), R(1), |
+ B(LdaSmi), I8(1), |
B(Star), R(0), |
/* 45 S> */ B(JumpIfToBooleanFalse), U8(5), |
/* 54 S> */ B(LdaSmi), I8(1), |
@@ -76,6 +81,7 @@ bytecodes: [ |
/* 77 S> */ B(Return), |
] |
constant pool: [ |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
] |
handlers: [ |
] |