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

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

Issue 2487483004: Only treat possible eval calls going through 'with' as special. (Closed)
Patch Set: Rebase 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/Eval.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Eval.golden b/test/cctest/interpreter/bytecode_expectations/Eval.golden
index d8781cecfed48a234033699b176e6b70c1c3aa24..a311aa9101b5f26b8dc7524a047f0cd7c20c42f4 100644
--- a/test/cctest/interpreter/bytecode_expectations/Eval.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Eval.golden
@@ -11,7 +11,7 @@ snippet: "
"
frame size: 10
parameter count: 1
-bytecode array length: 63
+bytecode array length: 62
bytecodes: [
B(CreateFunctionContext), U8(3),
B(PushContext), R(0),
@@ -22,9 +22,10 @@ bytecodes: [
B(Ldar), R(new_target),
B(StaCurrentContextSlot), U8(5),
/* 30 E> */ B(StackCheck),
- /* 34 S> */ B(LdaConstant), U8(0),
- B(Star), R(4),
- B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(4), U8(1), R(1),
+ /* 34 S> */ B(LdaUndefined),
+ B(Star), R(2),
+ /* 41 E> */ B(LdaLookupGlobalSlot), U8(0), U8(4), U8(1),
+ B(Star), R(1),
B(LdaConstant), U8(1),
B(Star), R(3),
B(LdaZero),

Powered by Google App Engine
This is Rietveld 408576698