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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/CallLookupSlot.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 unified diff | Download patch
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 g = function(){}; eval(''); return g(); 12 g = function(){}; eval(''); return g();
13 " 13 "
14 frame size: 9 14 frame size: 10
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 85 16 bytecode array length: 89
17 bytecodes: [ 17 bytecodes: [
18 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), 18 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
19 B(PushContext), R(0), 19 B(PushContext), R(0),
20 B(Ldar), R(this), 20 B(Ldar), R(this),
21 B(StaContextSlot), R(context), U8(4), 21 B(StaContextSlot), R(context), U8(4),
22 B(CreateMappedArguments), 22 B(CreateMappedArguments),
23 B(StaContextSlot), R(context), U8(5), 23 B(StaContextSlot), R(context), U8(5),
24 B(Ldar), R(new_target), 24 B(Ldar), R(new_target),
25 B(StaContextSlot), R(context), U8(6), 25 B(StaContextSlot), R(context), U8(6),
26 B(StackCheck), 26 B(StackCheck),
27 B(CreateClosure), U8(0), U8(0), 27 B(CreateClosure), U8(0), U8(0),
28 B(StaLookupSlotSloppy), U8(1), 28 B(StaLookupSlotSloppy), U8(1),
29 B(LdaConstant), U8(2), 29 B(LdaConstant), U8(2),
30 B(Star), R(3), 30 B(Star), R(3),
31 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1) , 31 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1) ,
32 B(LdaConstant), U8(3), 32 B(LdaConstant), U8(3),
33 B(Star), R(3), 33 B(Star), R(3),
34 B(Mov), R(1), R(4), 34 B(Mov), R(1), R(4),
35 B(Mov), R(3), R(5), 35 B(Mov), R(3), R(5),
36 B(Mov), R(closure), R(6), 36 B(Mov), R(closure), R(6),
37 B(LdaZero), 37 B(LdaZero),
38 B(Star), R(7), 38 B(Star), R(7),
39 B(LdaSmi), U8(30), 39 B(LdaSmi), U8(30),
40 B(Star), R(8), 40 B(Star), R(8),
41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5), 41 B(LdaSmi), U8(52),
42 B(Star), R(9),
43 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
42 B(Star), R(1), 44 B(Star), R(1),
43 B(Call), R(1), R(2), U8(2), U8(0), 45 B(Call), R(1), R(2), U8(2), U8(0),
44 B(LdaConstant), U8(1), 46 B(LdaConstant), U8(1),
45 B(Star), R(3), 47 B(Star), R(3),
46 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1) , 48 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1) ,
47 B(Call), R(1), R(2), U8(1), U8(3), 49 B(Call), R(1), R(2), U8(1), U8(3),
48 B(Return), 50 B(Return),
49 ] 51 ]
50 constant pool: [ 52 constant pool: [
51 InstanceType::SHARED_FUNCTION_INFO_TYPE, 53 InstanceType::SHARED_FUNCTION_INFO_TYPE,
52 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 54 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 55 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
54 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 56 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
55 ] 57 ]
56 handlers: [ 58 handlers: [
57 ] 59 ]
58 60
OLDNEW
« no previous file with comments | « src/runtime/runtime-compiler.cc ('k') | test/cctest/interpreter/bytecode_expectations/Eval.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698