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

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

Issue 2487483004: Only treat possible eval calls going through 'with' as special. (Closed)
Patch Set: Fix ast-graph-builder 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/CallLookupSlot.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden
index 6e97ea7703f3edccaf3056d792a91e211d9082dc..e05419fbff145e9129c480bfdeaea5d73e1e0fd2 100644
--- a/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden
+++ b/test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden
@@ -24,9 +24,10 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 34 S> */ B(CreateClosure), U8(0), U8(2),
/* 36 E> */ B(StaLookupSlotSloppy), U8(1),
- /* 52 S> */ B(LdaConstant), U8(2),
- B(Star), R(4),
- B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(4), U8(1), R(1),
+ /* 52 S> */ B(LdaUndefined),
+ B(Star), R(2),
+ /* 52 E> */ B(LdaLookupGlobalSlot), U8(2), U8(4), U8(1),
+ B(Star), R(1),
B(LdaConstant), U8(3),
B(Star), R(3),
B(LdaZero),
@@ -41,7 +42,8 @@ bytecodes: [
B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
B(Star), R(1),
/* 52 E> */ B(Call), R(1), R(2), U8(2), U8(2),
- /* 62 S> */ B(LdrUndefined), R(2),
+ /* 62 S> */ B(LdaUndefined),
+ B(Star), R(2),
/* 69 E> */ B(LdaLookupGlobalSlot), U8(1), U8(8), U8(1),
B(Star), R(1),
/* 69 E> */ B(Call), R(1), R(2), U8(1), U8(6),

Powered by Google App Engine
This is Rietveld 408576698