Index: test/cctest/interpreter/bytecode_expectations/ForOf.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
index 732c2cc3f564da91ec636e095094f4ca346d325b..8e4ba641f0b29d052142b83a8eda089e91821a4c 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden |
@@ -3,7 +3,6 @@ |
# |
--- |
-pool type: mixed |
execute: yes |
wrap: yes |
@@ -126,17 +125,17 @@ bytecodes: [ |
/* 62 S> */ B(Return), |
] |
constant pool: [ |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::SYMBOL_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
+ FIXED_ARRAY_TYPE, |
+ SYMBOL_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
+ FIXED_ARRAY_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
+ FIXED_ARRAY_TYPE, |
] |
handlers: [ |
[7, 116, 122], |
@@ -270,17 +269,17 @@ bytecodes: [ |
/* 85 S> */ B(Return), |
] |
constant pool: [ |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::SYMBOL_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], |
+ SYMBOL_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
+ FIXED_ARRAY_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
+ FIXED_ARRAY_TYPE, |
] |
handlers: [ |
[11, 117, 123], |
@@ -418,17 +417,17 @@ bytecodes: [ |
/* 113 S> */ B(Return), |
] |
constant pool: [ |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::SYMBOL_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
+ FIXED_ARRAY_TYPE, |
+ SYMBOL_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
+ FIXED_ARRAY_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
+ FIXED_ARRAY_TYPE, |
] |
handlers: [ |
[7, 134, 140], |
@@ -565,19 +564,19 @@ bytecodes: [ |
/* 105 S> */ B(Return), |
] |
constant pool: [ |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::SYMBOL_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::FIXED_ARRAY_TYPE, |
+ FIXED_ARRAY_TYPE, |
+ FIXED_ARRAY_TYPE, |
+ SYMBOL_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
+ FIXED_ARRAY_TYPE, |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
+ ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
+ FIXED_ARRAY_TYPE, |
] |
handlers: [ |
[15, 130, 136], |