Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 pool type: string | 6 pool type: string |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: no | 8 wrap: no |
| 9 test function name: f | 9 test function name: f |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 constant pool: [ | 26 constant pool: [ |
| 27 ] | 27 ] |
| 28 handlers: [ | 28 handlers: [ |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 --- | 31 --- |
| 32 snippet: " | 32 snippet: " |
| 33 function f() { return arguments[0]; } | 33 function f() { return arguments[0]; } |
| 34 f(); | 34 f(); |
| 35 " | 35 " |
| 36 frame size: 2 | 36 frame size: 1 |
| 37 parameter count: 1 | 37 parameter count: 1 |
| 38 bytecode array length: 13 | 38 bytecode array length: 9 |
| 39 bytecodes: [ | 39 bytecodes: [ |
| 40 B(CreateMappedArguments), | 40 B(CreateMappedArguments), |
| 41 B(Star), R(0), | 41 B(Star), R(0), |
| 42 /* 10 E> */ B(StackCheck), | 42 /* 10 E> */ B(StackCheck), |
| 43 /* 15 S> */ B(Ldar), R(0), | 43 /* 15 S> */ B(LdaZero), |
| 44 B(Star), R(1), | 44 B(KeyedLoadIC), R(0), U8(1), |
|
Yang
2016/05/20 08:00:55
The expression position disappeared. If the load t
oth
2016/05/20 09:01:04
Ack. Need to fix this. For the debugging experienc
| |
| 45 /* 31 E> */ B(LdaZero), | |
| 46 B(KeyedLoadIC), R(1), U8(1), | |
| 47 /* 36 S> */ B(Return), | 45 /* 36 S> */ B(Return), |
| 48 ] | 46 ] |
| 49 constant pool: [ | 47 constant pool: [ |
| 50 ] | 48 ] |
| 51 handlers: [ | 49 handlers: [ |
| 52 ] | 50 ] |
| 53 | 51 |
| 54 --- | 52 --- |
| 55 snippet: " | 53 snippet: " |
| 56 function f() { 'use strict'; return arguments; } | 54 function f() { 'use strict'; return arguments; } |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 69 constant pool: [ | 67 constant pool: [ |
| 70 ] | 68 ] |
| 71 handlers: [ | 69 handlers: [ |
| 72 ] | 70 ] |
| 73 | 71 |
| 74 --- | 72 --- |
| 75 snippet: " | 73 snippet: " |
| 76 function f(a) { return arguments[0]; } | 74 function f(a) { return arguments[0]; } |
| 77 f(); | 75 f(); |
| 78 " | 76 " |
| 79 frame size: 3 | 77 frame size: 2 |
| 80 parameter count: 2 | 78 parameter count: 2 |
| 81 bytecode array length: 25 | 79 bytecode array length: 21 |
| 82 bytecodes: [ | 80 bytecodes: [ |
| 83 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), | 81 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), |
| 84 B(PushContext), R(1), | 82 B(PushContext), R(1), |
| 85 B(Ldar), R(arg0), | 83 B(Ldar), R(arg0), |
| 86 B(StaContextSlot), R(context), U8(4), | 84 B(StaContextSlot), R(context), U8(4), |
| 87 B(CreateMappedArguments), | 85 B(CreateMappedArguments), |
| 88 B(Star), R(0), | 86 B(Star), R(0), |
| 89 /* 10 E> */ B(StackCheck), | 87 /* 10 E> */ B(StackCheck), |
| 90 /* 16 S> */ B(Ldar), R(0), | 88 /* 16 S> */ B(LdaZero), |
| 91 B(Star), R(2), | 89 B(KeyedLoadIC), R(0), U8(1), |
|
Yang
2016/05/20 08:00:55
Ditto.
| |
| 92 /* 32 E> */ B(LdaZero), | |
| 93 B(KeyedLoadIC), R(2), U8(1), | |
| 94 /* 37 S> */ B(Return), | 90 /* 37 S> */ B(Return), |
| 95 ] | 91 ] |
| 96 constant pool: [ | 92 constant pool: [ |
| 97 ] | 93 ] |
| 98 handlers: [ | 94 handlers: [ |
| 99 ] | 95 ] |
| 100 | 96 |
| 101 --- | 97 --- |
| 102 snippet: " | 98 snippet: " |
| 103 function f(a, b, c) { return arguments; } | 99 function f(a, b, c) { return arguments; } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 139 B(Star), R(0), | 135 B(Star), R(0), |
| 140 /* 10 E> */ B(StackCheck), | 136 /* 10 E> */ B(StackCheck), |
| 141 /* 36 S> */ B(Ldar), R(0), | 137 /* 36 S> */ B(Ldar), R(0), |
| 142 /* 54 S> */ B(Return), | 138 /* 54 S> */ B(Return), |
| 143 ] | 139 ] |
| 144 constant pool: [ | 140 constant pool: [ |
| 145 ] | 141 ] |
| 146 handlers: [ | 142 handlers: [ |
| 147 ] | 143 ] |
| 148 | 144 |
| OLD | NEW |