Changeset 9558 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Jul 1, 2005, 10:47:12 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r9556 r9558 2226 2226 KJS_BREAKPOINT; 2227 2227 2228 CodeType codeType = exec->context().imp()->codeType(); 2229 if (codeType != FunctionCode && codeType != AnonymousCode ) { 2230 return Completion(Throw, throwError(exec, SyntaxError, "Invalid return statement.")); 2231 } 2232 2228 2233 if (!value) 2229 2234 return Completion(ReturnValue, Undefined());
Note:
See TracChangeset
for help on using the changeset viewer.