Changeset 31121 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Mar 18, 2008, 2:42:58 AM (17 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.cpp
r31114 r31121 75 75 FunctionExecState newExec(exec->dynamicGlobalObject(), thisObj, body.get(), exec, this, args); 76 76 JSValue* result = body->execute(&newExec); 77 if (newExec.completionType() == ReturnValue) 78 return result; 77 79 if (newExec.completionType() == Throw) { 78 80 exec->setException(result); 79 81 return result; 80 82 } 81 if (newExec.completionType() == ReturnValue)82 return result;83 83 return jsUndefined(); 84 84 } -
trunk/JavaScriptCore/kjs/object.cpp
r30534 r31121 230 230 } 231 231 232 if ( !obj->_proto->isObject())232 if (obj->_proto == jsNull()) 233 233 break; 234 234
Note:
See TracChangeset
for help on using the changeset viewer.