Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1631)

Unified Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2411873004: [ignition] Eliminate hole checks where statically possible for loads and stores (Closed)
Patch Set: Rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/interpreter/bytecode_expectations/Generators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden
index e20a2e81d2a8674df40fe9409162bd745c122094..22ee8ff685ddcaa0c020c0bd690081df4ea09bc8 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -266,7 +266,7 @@ snippet: "
"
frame size: 18
parameter count: 1
-bytecode array length: 805
+bytecode array length: 793
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -320,7 +320,7 @@ bytecodes: [
B(Star), R(6),
B(LdaZero),
B(Star), R(5),
- B(JumpConstant), U8(20),
+ B(JumpConstant), U8(18),
B(Ldar), R(10),
/* 11 E> */ B(Throw),
B(Ldar), R(closure),
@@ -343,7 +343,7 @@ bytecodes: [
B(JumpIfTrue), U8(18),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(4), U8(0),
- B(JumpIfTrueConstant), U8(9),
+ B(JumpIfTrueConstant), U8(8),
B(LdaSmi), U8(76),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
@@ -359,7 +359,7 @@ bytecodes: [
B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1),
B(LdrContextSlot), R(1), U8(8), U8(0), R(12),
B(LdaNamedProperty), R(12), U8(5), U8(10),
- B(JumpIfToBooleanTrueConstant), U8(10),
+ B(JumpIfToBooleanTrueConstant), U8(9),
B(LdrContextSlot), R(1), U8(8), U8(0), R(12),
B(LdaNamedProperty), R(12), U8(6), U8(12),
B(StaContextSlot), R(1), U8(10), U8(0),
@@ -375,12 +375,7 @@ bytecodes: [
B(StaContextSlot), R(context), U8(4), U8(0),
B(LdaContextSlot), R(1), U8(6), U8(0),
B(StaContextSlot), R(context), U8(4), U8(0),
- /* 36 S> */ B(LdaContextSlot), R(context), U8(4), U8(0),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(8),
- B(Star), R(14),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(14), U8(1),
- B(Star), R(12),
+ /* 36 S> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(12),
B(LdaFalse),
B(Star), R(13),
B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U8(2),
@@ -422,11 +417,11 @@ bytecodes: [
B(PopContext), R(2),
B(LdaZero),
B(StaContextSlot), R(1), U8(9), U8(0),
- B(Wide), B(JumpLoop), U16(-232), U16(0),
+ B(Wide), B(JumpLoop), U16(-220), U16(0),
B(Jump), U8(44),
B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(12), U8(11), U8(12),
+ B(CreateCatchContext), R(12), U8(10), U8(11),
B(Star), R(11),
B(PushContext), R(2),
B(LdrContextSlot), R(0), U8(9), U8(0), R(12),
@@ -449,19 +444,19 @@ bytecodes: [
B(LdrContextSlot), R(1), U8(9), U8(0), R(11),
B(LdaZero),
B(TestEqualStrict), R(11), U8(15),
- B(JumpIfTrueConstant), U8(18),
+ B(JumpIfTrueConstant), U8(17),
B(LdrContextSlot), R(1), U8(7), U8(0), R(11),
B(LdaUndefined),
B(TestEqualStrict), R(11), U8(16),
- B(JumpIfTrueConstant), U8(19),
+ B(JumpIfTrueConstant), U8(9),
B(LdrContextSlot), R(1), U8(7), U8(0), R(11),
- B(LdaNamedProperty), R(11), U8(13), U8(17),
+ B(LdaNamedProperty), R(11), U8(12), U8(17),
B(StaContextSlot), R(1), U8(11), U8(0),
B(LdrContextSlot), R(1), U8(11), U8(0), R(11),
B(LdaNull),
B(TestEqual), R(11), U8(19),
B(JumpIfFalse), U8(4),
- B(JumpConstant), U8(17),
+ B(JumpConstant), U8(16),
B(LdrContextSlot), R(1), U8(9), U8(0), R(11),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(11), U8(20),
@@ -469,13 +464,13 @@ bytecodes: [
B(LdaContextSlot), R(1), U8(11), U8(0),
B(TypeOf),
B(Star), R(11),
- B(LdaConstant), U8(14),
+ B(LdaConstant), U8(13),
B(TestEqualStrict), R(11), U8(21),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), U16(130),
B(Star), R(11),
- B(LdaConstant), U8(15),
+ B(LdaConstant), U8(14),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
B(Throw),
@@ -486,7 +481,7 @@ bytecodes: [
B(Jump), U8(23),
B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(12), U8(11), U8(16),
+ B(CreateCatchContext), R(12), U8(10), U8(15),
B(Star), R(11),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(11),
@@ -581,9 +576,8 @@ constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
FIXED_ARRAY_TYPE,
- ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
- Smi [146],
- Smi [167],
+ Smi [134],
+ Smi [155],
ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
FIXED_ARRAY_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
@@ -592,13 +586,12 @@ constant pool: [
FIXED_ARRAY_TYPE,
Smi [129],
Smi [166],
- Smi [155],
- Smi [601],
+ Smi [589],
]
handlers: [
- [48, 718, 724],
- [153, 458, 464],
- [156, 414, 416],
- [572, 586, 588],
+ [48, 706, 712],
+ [153, 446, 452],
+ [156, 402, 404],
+ [560, 574, 576],
]

Powered by Google App Engine
This is Rietveld 408576698