Changeset 26619 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 15, 2007, 1:40:50 PM (18 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r26618 r26619 1 2007-10-15 Geoffrey Garen <[email protected]> 2 3 Reviewed by Darin Adler. 4 5 Made function parameters DontDelete. This matches FF and the vague 6 description in ECMA 10.1.3. It's also required in order to make 7 symbol table based lookup of function parameters valid. (If the 8 parameters aren't DontDelete, you can't guarantee that you'll find 9 them later in the symbol table.) 10 11 [ Patch broken off from http://bugs.webkit.org/show_bug.cgi?id=14868 ] 12 13 * kjs/function.cpp: 14 (KJS::FunctionImp::passInParameters): 15 1 16 2007-10-15 Geoffrey Garen <[email protected]> 2 17 -
trunk/JavaScriptCore/kjs/function.cpp
r25681 r26619 167 167 printInfo(exec, "to", args[i]); 168 168 #endif 169 variable->put(exec, parameters[i].name, args[i] );169 variable->put(exec, parameters[i].name, args[i], DontDelete); 170 170 } 171 171 }
Note:
See TracChangeset
for help on using the changeset viewer.