Changeset 31121 in webkit for trunk/JavaScriptCore/kjs/function.cpp
- Timestamp:
- Mar 18, 2008, 2:42:58 AM (17 years ago)
- File:
-
- 1 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 }
Note:
See TracChangeset
for help on using the changeset viewer.