Changeset 440 for trunk/JavaScriptCore/kjs/PrototypeFunction.cpp
- Timestamp:
- 08/18/08 11:14:49 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/kjs/PrototypeFunction.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/kjs/PrototypeFunction.cpp
r404 r440 32 32 namespace KJS { 33 33 34 ASSERT_CLASS_FITS_IN_CELL(PrototypeFunction); 35 34 36 PrototypeFunction::PrototypeFunction(ExecState* exec, int length, const Identifier& name, NativeFunction function) 35 : InternalFunction(exec ->lexicalGlobalObject()->functionPrototype(), name)37 : InternalFunction(exec, exec->lexicalGlobalObject()->functionPrototype(), name) 36 38 , m_function(function) 37 39 { … … 41 43 42 44 PrototypeFunction::PrototypeFunction(ExecState* exec, FunctionPrototype* functionPrototype, int length, const Identifier& name, NativeFunction function) 43 : InternalFunction( functionPrototype, name)45 : InternalFunction(exec, functionPrototype, name) 44 46 , m_function(function) 45 47 {
