Changeset 177981 in webkit
- Timestamp:
- Jan 6, 2015, 11:39:05 AM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r177978 r177981 1 2015-01-06 Mark Lam <mark.lam@apple.com> 2 3 Fix Use details for op_create_lexical_environment and op_create_arguments. 4 <https://webkit.org/b/140110> 5 6 Reviewed by Filip Pizlo. 7 8 The current "Use" details for op_create_lexical_environment and 9 op_create_arguments are wrong. op_create_argument uses nothing instead of the 10 1st operand (the output local). op_create_lexical_environment uses its 2nd 11 operand (the scope chain) instead of the 1st (the output local). 12 This patch fixes them to specify the proper uses. 13 14 * bytecode/BytecodeUseDef.h: 15 (JSC::computeUsesForBytecodeOffset): 16 1 17 2015-01-06 Yusuke Suzuki <utatane.tea@gmail.com> 2 18 -
trunk/Source/JavaScriptCore/bytecode/BytecodeUseDef.h
r176836 r177981 41 41 switch (opcodeID) { 42 42 // No uses. 43 case op_create_arguments: 43 44 case op_new_regexp: 44 45 case op_new_array_buffer: … … 56 57 case op_profile_control_flow: 57 58 return; 58 case op_create_lexical_environment:59 59 case op_get_scope: 60 case op_create_arguments:61 60 case op_to_this: 62 61 case op_pop_scope: … … 115 114 return; 116 115 } 116 case op_create_lexical_environment: 117 117 case op_get_enumerable_length: 118 118 case op_new_func_exp:
Note:
See TracChangeset
for help on using the changeset viewer.