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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden

Issue 2369873002: [Interpreter] Replace BytecodeRegisterAllocator with a simple bump pointer. (Closed)
Patch Set: Rebase Created 4 years, 2 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 execute: yes 6 execute: yes
7 wrap: yes 7 wrap: yes
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
11 g = function(){}; eval(''); return g(); 11 g = function(){}; eval(''); return g();
12 " 12 "
13 frame size: 10 13 frame size: 10
14 parameter count: 1 14 parameter count: 1
15 bytecode array length: 89 15 bytecode array length: 89
16 bytecodes: [ 16 bytecodes: [
17 B(CreateFunctionContext), U8(3), 17 B(CreateFunctionContext), U8(3),
18 B(PushContext), R(0), 18 B(PushContext), R(0),
19 B(Ldar), R(this), 19 B(Ldar), R(this),
20 B(StaContextSlot), R(context), U8(4), U8(0), 20 B(StaContextSlot), R(context), U8(4), U8(0),
21 B(CreateMappedArguments), 21 B(CreateMappedArguments),
22 B(StaContextSlot), R(context), U8(6), U8(0), 22 B(StaContextSlot), R(context), U8(6), U8(0),
23 B(Ldar), R(new_target), 23 B(Ldar), R(new_target),
24 B(StaContextSlot), R(context), U8(5), U8(0), 24 B(StaContextSlot), R(context), U8(5), U8(0),
25 /* 30 E> */ B(StackCheck), 25 /* 30 E> */ B(StackCheck),
26 /* 34 S> */ B(CreateClosure), U8(0), U8(2), 26 /* 34 S> */ B(CreateClosure), U8(0), U8(2),
27 /* 36 E> */ B(StaLookupSlotSloppy), U8(1), 27 /* 36 E> */ B(StaLookupSlotSloppy), U8(1),
28 /* 52 S> */ B(LdaConstant), U8(2), 28 /* 52 S> */ B(LdaConstant), U8(2),
29 B(Star), R(3), 29 B(Star), R(4),
30 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 30 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(4 ), U8(1), R(1),
31 B(LdaConstant), U8(3), 31 B(LdaConstant), U8(3),
32 B(Star), R(3), 32 B(Star), R(3),
33 B(LdaZero), 33 B(LdaZero),
34 B(Star), R(7), 34 B(Star), R(7),
35 B(LdaSmi), U8(30), 35 B(LdaSmi), U8(30),
36 B(Star), R(8), 36 B(Star), R(8),
37 B(LdaSmi), U8(52), 37 B(LdaSmi), U8(52),
38 B(Star), R(9), 38 B(Star), R(9),
39 B(Mov), R(1), R(4), 39 B(Mov), R(1), R(4),
40 B(Mov), R(3), R(5), 40 B(Mov), R(3), R(5),
41 B(Mov), R(closure), R(6), 41 B(Mov), R(closure), R(6),
42 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), 42 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
43 B(Star), R(1), 43 B(Star), R(1),
44 /* 52 E> */ B(Call), R(1), R(2), U8(2), U8(0), 44 /* 52 E> */ B(Call), R(1), R(2), U8(2), U8(0),
45 /* 62 S> */ B(LdaConstant), U8(1), 45 /* 62 S> */ B(LdaConstant), U8(1),
46 B(Star), R(3), 46 B(Star), R(3),
47 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 47 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1),
48 /* 69 E> */ B(Call), R(1), R(2), U8(1), U8(4), 48 /* 69 E> */ B(Call), R(1), R(2), U8(1), U8(4),
49 /* 74 S> */ B(Return), 49 /* 74 S> */ B(Return),
50 ] 50 ]
51 constant pool: [ 51 constant pool: [
52 SHARED_FUNCTION_INFO_TYPE, 52 SHARED_FUNCTION_INFO_TYPE,
53 ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"], 53 ONE_BYTE_INTERNALIZED_STRING_TYPE ["g"],
54 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], 54 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"],
55 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 55 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
56 ] 56 ]
57 handlers: [ 57 handlers: [
58 ] 58 ]
59 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698