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

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

Issue 2336643002: [Interpreter] Move context chain search loop to handler (Closed)
Patch Set: Fix documentation nits Created 4 years, 3 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/OuterContextVariables.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/OuterContextVariables.golden b/test/cctest/interpreter/bytecode_expectations/OuterContextVariables.golden
index 5f4b95b9cdddf50784d1b60dcc4f9bf0c2e0827b..5bda52ede021be01284501be337daecdaa1f77aa 100644
--- a/test/cctest/interpreter/bytecode_expectations/OuterContextVariables.golden
+++ b/test/cctest/interpreter/bytecode_expectations/OuterContextVariables.golden
@@ -19,15 +19,14 @@ snippet: "
var f = new Outer().getInnerFunc();
f();
"
-frame size: 2
+frame size: 1
parameter count: 1
-bytecode array length: 16
+bytecode array length: 14
bytecodes: [
/* 97 E> */ B(StackCheck),
- /* 102 S> */ B(LdrContextSlot), R(context), U8(1), R(0),
- B(LdrContextSlot), R(0), U8(4), R(1),
- /* 120 E> */ B(LdaContextSlot), R(context), U8(4),
- B(Mul), R(1), U8(1),
+ /* 102 S> */ B(LdrContextSlot), R(context), U8(4), U8(1), R(0),
+ /* 120 E> */ B(LdaContextSlot), R(context), U8(4), U8(0),
+ B(Mul), R(0), U8(1),
/* 130 S> */ B(Return),
]
constant pool: [
@@ -47,15 +46,13 @@ snippet: "
var f = new Outer().getInnerFunc();
f();
"
-frame size: 2
+frame size: 0
parameter count: 1
-bytecode array length: 16
+bytecode array length: 11
bytecodes: [
/* 97 E> */ B(StackCheck),
- /* 102 S> */ B(LdrContextSlot), R(context), U8(4), R(0),
- /* 111 E> */ B(LdrContextSlot), R(context), U8(1), R(1),
- B(Ldar), R(0),
- B(StaContextSlot), R(1), U8(4),
+ /* 102 S> */ B(LdaContextSlot), R(context), U8(4), U8(0),
+ /* 111 E> */ B(StaContextSlot), R(context), U8(4), U8(1),
B(LdaUndefined),
/* 123 S> */ B(Return),
]

Powered by Google App Engine
This is Rietveld 408576698