Index: test/cctest/interpreter/bytecode_expectations/StringConstants.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/StringConstants.golden b/test/cctest/interpreter/bytecode_expectations/StringConstants.golden |
index 260153b8e6505f03114345b17a1aef6c06144541..c88e043d9c59f3625636072878dd7d57a7980549 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/StringConstants.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/StringConstants.golden |
@@ -27,17 +27,20 @@ handlers: [ |
snippet: " |
var a = \"First string\"; return \"Second string\"; |
" |
-frame size: 1 |
+frame size: 2 |
parameter count: 1 |
-bytecode array length: 8 |
+bytecode array length: 12 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
+ B(Star), R(1), |
+ B(LdaConstant), U8(1), |
B(Star), R(0), |
- /* 58 S> */ B(LdaConstant), U8(1), |
+ /* 58 S> */ B(LdaConstant), U8(2), |
/* 82 S> */ B(Return), |
] |
constant pool: [ |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["First string"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["Second string"], |
] |
@@ -48,17 +51,20 @@ handlers: [ |
snippet: " |
var a = \"Same string\"; return \"Same string\"; |
" |
-frame size: 1 |
+frame size: 2 |
parameter count: 1 |
-bytecode array length: 8 |
+bytecode array length: 12 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
+ B(Star), R(1), |
+ B(LdaConstant), U8(1), |
B(Star), R(0), |
- /* 57 S> */ B(LdaConstant), U8(0), |
+ /* 57 S> */ B(LdaConstant), U8(1), |
/* 79 S> */ B(Return), |
] |
constant pool: [ |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
ONE_BYTE_INTERNALIZED_STRING_TYPE ["Same string"], |
] |
handlers: [ |