OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 var a; return function() { a = 1; }; | 10 var a; return function() { a = 1; }; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 var a246 = 0; | 383 var a246 = 0; |
384 var a247 = 0; | 384 var a247 = 0; |
385 var a248 = 0; | 385 var a248 = 0; |
386 var a249 = 0; | 386 var a249 = 0; |
387 eval(); | 387 eval(); |
388 var b = 100; | 388 var b = 100; |
389 return b | 389 return b |
390 " | 390 " |
391 frame size: 3 | 391 frame size: 3 |
392 parameter count: 1 | 392 parameter count: 1 |
393 bytecode array length: 791 | 393 bytecode array length: 792 |
394 bytecodes: [ | 394 bytecodes: [ |
395 B(CreateFunctionContext), U8(254), | 395 B(CreateFunctionContext), U8(254), |
396 B(PushContext), R(0), | 396 B(PushContext), R(0), |
397 B(Ldar), R(this), | 397 B(Ldar), R(this), |
398 B(StaCurrentContextSlot), U8(4), | 398 B(StaCurrentContextSlot), U8(4), |
399 B(CreateUnmappedArguments), | 399 B(CreateUnmappedArguments), |
400 B(Wide), B(StaCurrentContextSlot), U16(257), | 400 B(Wide), B(StaCurrentContextSlot), U16(257), |
401 B(Ldar), R(new_target), | 401 B(Ldar), R(new_target), |
402 B(StaCurrentContextSlot), U8(5), | 402 B(StaCurrentContextSlot), U8(5), |
403 /* 30 E> */ B(StackCheck), | 403 /* 30 E> */ B(StackCheck), |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 /* 3393 S> */ B(LdaZero), | 896 /* 3393 S> */ B(LdaZero), |
897 /* 3393 E> */ B(StaCurrentContextSlot), U8(252), | 897 /* 3393 E> */ B(StaCurrentContextSlot), U8(252), |
898 /* 3407 S> */ B(LdaZero), | 898 /* 3407 S> */ B(LdaZero), |
899 /* 3407 E> */ B(StaCurrentContextSlot), U8(253), | 899 /* 3407 E> */ B(StaCurrentContextSlot), U8(253), |
900 /* 3421 S> */ B(LdaZero), | 900 /* 3421 S> */ B(LdaZero), |
901 /* 3421 E> */ B(StaCurrentContextSlot), U8(254), | 901 /* 3421 E> */ B(StaCurrentContextSlot), U8(254), |
902 /* 3435 S> */ B(LdaZero), | 902 /* 3435 S> */ B(LdaZero), |
903 /* 3435 E> */ B(StaCurrentContextSlot), U8(255), | 903 /* 3435 E> */ B(StaCurrentContextSlot), U8(255), |
904 /* 3438 S> */ B(LdaUndefined), | 904 /* 3438 S> */ B(LdaUndefined), |
905 B(Star), R(2), | 905 B(Star), R(2), |
906 B(LdaGlobal), U8(4), | 906 B(LdaGlobal), U8(0), U8(4), |
907 B(Star), R(1), | 907 B(Star), R(1), |
908 /* 3438 E> */ B(Call), R(1), R(2), U8(1), U8(2), | 908 /* 3438 E> */ B(Call), R(1), R(2), U8(1), U8(2), |
909 /* 3454 S> */ B(LdaSmi), U8(100), | 909 /* 3454 S> */ B(LdaSmi), U8(100), |
910 /* 3454 E> */ B(Wide), B(StaCurrentContextSlot), U16(256), | 910 /* 3454 E> */ B(Wide), B(StaCurrentContextSlot), U16(256), |
911 /* 3459 S> */ B(Wide), B(LdaCurrentContextSlot), U16(256), | 911 /* 3459 S> */ B(Wide), B(LdaCurrentContextSlot), U16(256), |
912 /* 3468 S> */ B(Return), | 912 /* 3468 S> */ B(Return), |
913 ] | 913 ] |
914 constant pool: [ | 914 constant pool: [ |
| 915 ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"], |
915 ] | 916 ] |
916 handlers: [ | 917 handlers: [ |
917 ] | 918 ] |
918 | 919 |
OLD | NEW |