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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/TopLevelObjectLiterals.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: no 7 execute: no
8 wrap: no 8 wrap: no
9 top level: yes 9 top level: yes
10 10
11 --- 11 ---
12 snippet: " 12 snippet: "
13 var a = { func: function() { } }; 13 var a = { func: function() { } };
14 " 14 "
15 frame size: 5 15 frame size: 5
16 parameter count: 1 16 parameter count: 1
17 bytecode array length: 44 17 bytecode array length: 43
18 bytecodes: [ 18 bytecodes: [
19 B(LdaConstant), U8(0), 19 B(LdaConstant), U8(0),
20 B(Star), R(1), 20 B(Star), R(1),
21 B(LdaZero), 21 B(LdaZero),
22 B(Star), R(2), 22 B(Star), R(2),
23 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), 23 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2),
24 /* 0 E> */ B(StackCheck), 24 /* 0 E> */ B(StackCheck),
25 /* 8 S> */ B(LdaConstant), U8(1), 25 /* 8 S> */ B(LdaConstant), U8(1),
26 B(Star), R(1), 26 B(Star), R(1),
27 B(LdaZero), 27 B(LdaZero),
28 B(Star), R(2), 28 B(Star), R(2),
29 B(CreateObjectLiteral), U8(2), U8(0), U8(1), 29 B(CreateObjectLiteral), U8(2), U8(0), U8(1),
30 B(Star), R(4), 30 B(Star), R(4),
31 B(CreateClosure), U8(3), U8(0), 31 B(CreateClosure), U8(3), U8(0),
32 B(StaNamedPropertySloppy), R(4), U8(4), U8(3), 32 B(StaNamedPropertySloppy), R(4), U8(4), U8(3),
33 B(Ldar), R(4), 33 B(Mov), R(4), R(3),
34 B(Star), R(3),
35 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), 34 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3),
36 B(LdaUndefined), 35 B(LdaUndefined),
37 /* 33 S> */ B(Return), 36 /* 33 S> */ B(Return),
38 ] 37 ]
39 constant pool: [ 38 constant pool: [
40 InstanceType::FIXED_ARRAY_TYPE, 39 InstanceType::FIXED_ARRAY_TYPE,
41 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 40 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
42 InstanceType::FIXED_ARRAY_TYPE, 41 InstanceType::FIXED_ARRAY_TYPE,
43 InstanceType::SHARED_FUNCTION_INFO_TYPE, 42 InstanceType::SHARED_FUNCTION_INFO_TYPE,
44 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 43 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
45 ] 44 ]
46 handlers: [ 45 handlers: [
47 ] 46 ]
48 47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698