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

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

Issue 1854713002: Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Eval.golden ('k') | test/mjsunit/eval-origin.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
index acec42f2e02165dc3dc1c41f7833c0c00ab16633..5db0b4649f69e1fb08ab5d2e784ab17d4e04136e 100644
--- a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
+++ b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
@@ -11,9 +11,9 @@ wrap: yes
snippet: "
eval('var x = 10;'); return x;
"
-frame size: 9
+frame size: 10
parameter count: 1
-bytecode array length: 67
+bytecode array length: 71
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -36,7 +36,9 @@ bytecodes: [
B(Star), R(7),
B(LdaSmi), U8(30),
B(Star), R(8),
- B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5),
+ B(LdaSmi), U8(34),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
B(Star), R(1),
B(Call), R(1), R(2), U8(2), U8(0),
B(LdaLookupSlot), U8(2),
@@ -54,9 +56,9 @@ handlers: [
snippet: "
eval('var x = 10;'); return typeof x;
"
-frame size: 9
+frame size: 10
parameter count: 1
-bytecode array length: 68
+bytecode array length: 72
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -79,7 +81,9 @@ bytecodes: [
B(Star), R(7),
B(LdaSmi), U8(30),
B(Star), R(8),
- B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5),
+ B(LdaSmi), U8(34),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
B(Star), R(1),
B(Call), R(1), R(2), U8(2), U8(0),
B(LdaLookupSlotInsideTypeof), U8(2),
@@ -98,9 +102,9 @@ handlers: [
snippet: "
x = 20; return eval('');
"
-frame size: 9
+frame size: 10
parameter count: 1
-bytecode array length: 69
+bytecode array length: 73
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -125,7 +129,9 @@ bytecodes: [
B(Star), R(7),
B(LdaSmi), U8(30),
B(Star), R(8),
- B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5),
+ B(LdaSmi), U8(49),
+ B(Star), R(9),
+ B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
B(Star), R(1),
B(Call), R(1), R(2), U8(2), U8(0),
B(Return),
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Eval.golden ('k') | test/mjsunit/eval-origin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698