Changeset 47183 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Aug 12, 2009, 10:21:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r47089 r47183 2920 2920 */ 2921 2921 int dst = (++vPC)->u.operand; 2922 int func = (++vPC)->u.operand; 2923 2924 callFrame->r(dst) = JSValue(callFrame->codeBlock()->function(func)->make(callFrame, callFrame->scopeChain())); 2925 2926 ++vPC; 2927 NEXT_INSTRUCTION(); 2928 } 2929 DEFINE_OPCODE(op_new_func_exp) { 2930 /* new_func_exp dst(r) func(f) 2931 2932 Constructs a new Function instance from function func and 2933 the current scope chain using the original Function 2934 constructor, using the rules for function expressions, and 2935 puts the result in register dst. 2936 */ 2937 int dst = (++vPC)->u.operand; 2922 2938 int funcIndex = (++vPC)->u.operand; 2923 2939 … … 2938 2954 2939 2955 callFrame->r(dst) = JSValue(func); 2940 2941 ++vPC;2942 NEXT_INSTRUCTION();2943 }2944 DEFINE_OPCODE(op_new_func_exp) {2945 /* new_func_exp dst(r) func(f)2946 2947 Constructs a new Function instance from function func and2948 the current scope chain using the original Function2949 constructor, using the rules for function expressions, and2950 puts the result in register dst.2951 */2952 int dst = (++vPC)->u.operand;2953 int func = (++vPC)->u.operand;2954 2955 callFrame->r(dst) = JSValue(callFrame->codeBlock()->function(func)->make(callFrame, callFrame->scopeChain()));2956 2956 2957 2957 ++vPC;
Note:
See TracChangeset
for help on using the changeset viewer.