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

Unified Diff: test/cctest/interpreter/bytecode_expectations/ClassDeclarations.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/ClassDeclarations.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
index f1a15639a885b2ad78dfb1f24106e15ff9fc632d..0542892d4d25224f6e5fcd46f0dcdb38af35bd47 100644
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
@@ -194,7 +194,7 @@ snippet: "
"
frame size: 8
parameter count: 1
-bytecode array length: 74
+bytecode array length: 62
bytecodes: [
B(CreateFunctionContext), U8(1),
B(PushContext), R(3),
@@ -220,18 +220,13 @@ bytecodes: [
B(Star), R(0),
B(Star), R(1),
B(Star), R(2),
- /* 87 S> */ B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(2),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
- B(Star), R(4),
- /* 94 E> */ B(New), R(4), R(0), U8(0), U8(4),
+ /* 87 S> */ B(Nop),
+ /* 94 E> */ B(New), R(2), R(0), U8(0), U8(4),
/* 103 S> */ B(Return),
]
constant pool: [
SHARED_FUNCTION_INFO_TYPE,
ONE_BYTE_INTERNALIZED_STRING_TYPE ["prototype"],
- ONE_BYTE_INTERNALIZED_STRING_TYPE ["C"],
]
handlers: [
]

Powered by Google App Engine
This is Rietveld 408576698