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

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

Issue 2336643002: [Interpreter] Move context chain search loop to handler (Closed)
Patch Set: Fix documentation nits Created 4 years, 3 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 return eval('1;'); 11 return eval('1;');
12 " 12 "
13 frame size: 10 13 frame size: 10
14 parameter count: 1 14 parameter count: 1
15 bytecode array length: 66 15 bytecode array length: 69
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), 20 B(StaContextSlot), R(context), U8(4), U8(0),
21 B(CreateMappedArguments), 21 B(CreateMappedArguments),
22 B(StaContextSlot), R(context), U8(6), 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), 24 B(StaContextSlot), R(context), U8(5), U8(0),
25 /* 30 E> */ B(StackCheck), 25 /* 30 E> */ B(StackCheck),
26 /* 34 S> */ B(LdaConstant), U8(0), 26 /* 34 S> */ B(LdaConstant), U8(0),
27 B(Star), R(3), 27 B(Star), R(3),
28 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 28 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1),
29 B(LdaConstant), U8(1), 29 B(LdaConstant), U8(1),
30 B(Star), R(3), 30 B(Star), R(3),
31 B(LdaZero), 31 B(LdaZero),
32 B(Star), R(7), 32 B(Star), R(7),
33 B(LdaSmi), U8(30), 33 B(LdaSmi), U8(30),
34 B(Star), R(8), 34 B(Star), R(8),
35 B(LdaSmi), U8(41), 35 B(LdaSmi), U8(41),
36 B(Star), R(9), 36 B(Star), R(9),
37 B(Mov), R(1), R(4), 37 B(Mov), R(1), R(4),
38 B(Mov), R(3), R(5), 38 B(Mov), R(3), R(5),
39 B(Mov), R(closure), R(6), 39 B(Mov), R(closure), R(6),
40 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), 40 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
41 B(Star), R(1), 41 B(Star), R(1),
42 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(0), 42 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(0),
43 /* 53 S> */ B(Return), 43 /* 53 S> */ B(Return),
44 ] 44 ]
45 constant pool: [ 45 constant pool: [
46 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], 46 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"],
47 ONE_BYTE_INTERNALIZED_STRING_TYPE ["1;"], 47 ONE_BYTE_INTERNALIZED_STRING_TYPE ["1;"],
48 ] 48 ]
49 handlers: [ 49 handlers: [
50 ] 50 ]
51 51
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698