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

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

Issue 2459513002: [ignition] Add bytecodes for loads/stores in the current context (Closed)
Patch Set: s/LocalContext/CurrentContext/g 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/ForOf.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
index 53e81d090ae79f70e99e743289cab153b79ed2fe..aaa7666e91c2c574427469c7ad06246be4a3a1b1 100644
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
@@ -11,7 +11,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 279
+bytecode array length: 277
bytecodes: [
/* 30 E> */ B(StackCheck),
B(LdaZero),
@@ -42,7 +42,7 @@ bytecodes: [
B(LdaZero),
B(Star), R(4),
B(JumpLoop), U8(-49), U8(0),
- B(Jump), U8(37),
+ B(Jump), U8(35),
B(Star), R(13),
B(Ldar), R(closure),
B(CreateCatchContext), R(13), U8(5), U8(6),
@@ -53,7 +53,7 @@ bytecodes: [
B(JumpIfFalse), U8(6),
B(LdaSmi), U8(1),
B(Star), R(4),
- B(LdrContextSlot), R(context), U8(4), U8(0), R(13),
+ B(LdrCurrentContextSlot), U8(4), R(13),
B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
B(PopContext), R(8),
B(LdaSmi), U8(-1),
@@ -137,9 +137,9 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [7, 118, 124],
+ [7, 116, 122],
[10, 81, 83],
- [201, 211, 213],
+ [199, 209, 211],
]
---
@@ -149,7 +149,7 @@ snippet: "
"
frame size: 16
parameter count: 1
-bytecode array length: 290
+bytecode array length: 288
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaConstant), U8(0),
@@ -180,8 +180,8 @@ bytecodes: [
/* 73 S> */ B(LdaZero),
B(Star), R(10),
B(Mov), R(1), R(11),
- B(Jump), U8(51),
- B(Jump), U8(37),
+ B(Jump), U8(49),
+ B(Jump), U8(35),
B(Star), R(14),
B(Ldar), R(closure),
B(CreateCatchContext), R(14), U8(5), U8(6),
@@ -192,7 +192,7 @@ bytecodes: [
B(JumpIfFalse), U8(6),
B(LdaSmi), U8(1),
B(Star), R(5),
- B(LdrContextSlot), R(context), U8(4), U8(0), R(14),
+ B(LdrCurrentContextSlot), U8(4), R(14),
B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1),
B(PopContext), R(9),
B(LdaSmi), U8(-1),
@@ -281,9 +281,9 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [11, 118, 124],
+ [11, 116, 122],
[14, 81, 83],
- [202, 212, 214],
+ [200, 210, 212],
]
---
@@ -295,7 +295,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 297
+bytecode array length: 295
bytecodes: [
/* 30 E> */ B(StackCheck),
B(LdaZero),
@@ -334,7 +334,7 @@ bytecodes: [
B(LdaZero),
B(Star), R(4),
B(JumpLoop), U8(-67), U8(0),
- B(Jump), U8(37),
+ B(Jump), U8(35),
B(Star), R(13),
B(Ldar), R(closure),
B(CreateCatchContext), R(13), U8(5), U8(6),
@@ -345,7 +345,7 @@ bytecodes: [
B(JumpIfFalse), U8(6),
B(LdaSmi), U8(1),
B(Star), R(4),
- B(LdrContextSlot), R(context), U8(4), U8(0), R(13),
+ B(LdrCurrentContextSlot), U8(4), R(13),
B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
B(PopContext), R(8),
B(LdaSmi), U8(-1),
@@ -429,9 +429,9 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [7, 136, 142],
+ [7, 134, 140],
[10, 99, 101],
- [219, 229, 231],
+ [217, 227, 229],
]
---
@@ -441,7 +441,7 @@ snippet: "
"
frame size: 14
parameter count: 1
-bytecode array length: 303
+bytecode array length: 301
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8),
@@ -475,8 +475,8 @@ bytecodes: [
/* 96 E> */ B(LdrNamedProperty), R(0), U8(6), U8(16), R(9),
B(LdaZero),
B(Star), R(8),
- B(Jump), U8(51),
- B(Jump), U8(37),
+ B(Jump), U8(49),
+ B(Jump), U8(35),
B(Star), R(12),
B(Ldar), R(closure),
B(CreateCatchContext), R(12), U8(7), U8(8),
@@ -487,7 +487,7 @@ bytecodes: [
B(JumpIfFalse), U8(6),
B(LdaSmi), U8(1),
B(Star), R(3),
- B(LdrContextSlot), R(context), U8(4), U8(0), R(12),
+ B(LdrCurrentContextSlot), U8(4), R(12),
B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
B(PopContext), R(7),
B(LdaSmi), U8(-1),
@@ -578,8 +578,8 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [15, 131, 137],
+ [15, 129, 135],
[18, 94, 96],
- [215, 225, 227],
+ [213, 223, 225],
]

Powered by Google App Engine
This is Rietveld 408576698