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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Decouple a test from implementation. Created 4 years, 6 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 return new.target; 12 return new.target;
13 " 13 "
14 frame size: 2 14 frame size: 2
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 19 16 bytecode array length: 18
17 bytecodes: [ 17 bytecodes: [
18 B(Ldar), R(new_target), 18 B(Mov), R(new_target), R(0),
19 B(Star), R(0),
20 /* 30 E> */ B(StackCheck), 19 /* 30 E> */ B(StackCheck),
21 /* 34 S> */ B(Ldar), R(0), 20 /* 34 S> */ B(Ldar), R(0),
22 B(JumpIfNotHole), U8(11), 21 B(JumpIfNotHole), U8(11),
23 B(LdaConstant), U8(0), 22 B(LdaConstant), U8(0),
24 B(Star), R(1), 23 B(Star), R(1),
25 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), 24 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
26 /* 53 S> */ B(Return), 25 /* 53 S> */ B(Return),
27 ] 26 ]
28 constant pool: [ 27 constant pool: [
29 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
30 ] 29 ]
31 handlers: [ 30 handlers: [
32 ] 31 ]
33 32
34 --- 33 ---
35 snippet: " 34 snippet: "
36 new.target; 35 new.target;
37 " 36 "
38 frame size: 2 37 frame size: 2
39 parameter count: 1 38 parameter count: 1
40 bytecode array length: 20 39 bytecode array length: 19
41 bytecodes: [ 40 bytecodes: [
42 B(Ldar), R(new_target), 41 B(Mov), R(new_target), R(0),
43 B(Star), R(0),
44 /* 30 E> */ B(StackCheck), 42 /* 30 E> */ B(StackCheck),
45 /* 34 S> */ B(Ldar), R(0), 43 /* 34 S> */ B(Ldar), R(0),
46 B(JumpIfNotHole), U8(11), 44 B(JumpIfNotHole), U8(11),
47 B(LdaConstant), U8(0), 45 B(LdaConstant), U8(0),
48 B(Star), R(1), 46 B(Star), R(1),
49 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1), 47 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
50 B(LdaUndefined), 48 B(LdaUndefined),
51 /* 46 S> */ B(Return), 49 /* 46 S> */ B(Return),
52 ] 50 ]
53 constant pool: [ 51 constant pool: [
54 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 52 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
55 ] 53 ]
56 handlers: [ 54 handlers: [
57 ] 55 ]
58 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698