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

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

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month 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 62d08f57da9a3626c568b889d4f8e13b61e7f4ff..e1e5c83c605b0fdcbf25ecba5c4fd652eb1fc095 100644
--- a/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
@@ -14,7 +14,7 @@ snippet: "
"
frame size: 10
parameter count: 1
-bytecode array length: 74
+bytecode array length: 75
bytecodes: [
B(LdaTheHole),
B(Star), R(2),
@@ -31,7 +31,8 @@ bytecodes: [
B(Star), R(6),
B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
B(Star), R(3),
- B(LdrNamedProperty), R(3), U8(1), U8(2), R(4),
+ B(LdaNamedProperty), R(3), U8(1), U8(2),
+ B(Star), R(4),
B(LdaConstant), U8(2),
B(ToName), R(6),
B(CreateClosure), U8(3), U8(2),
@@ -67,7 +68,7 @@ snippet: "
"
frame size: 10
parameter count: 1
-bytecode array length: 74
+bytecode array length: 75
bytecodes: [
B(LdaTheHole),
B(Star), R(2),
@@ -84,7 +85,8 @@ bytecodes: [
B(Star), R(6),
B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
B(Star), R(3),
- B(LdrNamedProperty), R(3), U8(1), U8(2), R(4),
+ B(LdaNamedProperty), R(3), U8(1), U8(2),
+ B(Star), R(4),
B(LdaConstant), U8(2),
B(ToName), R(6),
B(CreateClosure), U8(3), U8(2),
@@ -122,7 +124,7 @@ snippet: "
"
frame size: 11
parameter count: 1
-bytecode array length: 120
+bytecode array length: 121
bytecodes: [
B(CreateFunctionContext), U8(2),
B(PushContext), R(3),
@@ -145,7 +147,8 @@ bytecodes: [
B(Star), R(7),
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
B(Star), R(4),
- B(LdrNamedProperty), R(4), U8(3), U8(2), R(5),
+ B(LdaNamedProperty), R(4), U8(3), U8(2),
+ B(Star), R(5),
/* 75 E> */ B(LdaCurrentContextSlot), U8(4),
B(ToName), R(7),
B(CreateClosure), U8(4), U8(2),
@@ -194,7 +197,7 @@ snippet: "
"
frame size: 8
parameter count: 1
-bytecode array length: 60
+bytecode array length: 61
bytecodes: [
B(CreateFunctionContext), U8(1),
B(PushContext), R(3),
@@ -215,7 +218,8 @@ bytecodes: [
B(Star), R(7),
B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
B(Star), R(4),
- B(LdrNamedProperty), R(4), U8(1), U8(2), R(5),
+ B(LdaNamedProperty), R(4), U8(1), U8(2),
+ B(Star), R(5),
B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
B(Star), R(0),
B(Star), R(1),

Powered by Google App Engine
This is Rietveld 408576698