Changeset 3009 in webkit for trunk/JavaScriptCore/kjs/interpreter.cpp
- Timestamp:
- Dec 11, 2002, 7:59:24 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.cpp
r2935 r3009 112 112 Completion Interpreter::evaluate(const UString &code, const Value &thisV) 113 113 { 114 return rep->evaluate(code,thisV); 114 Completion comp = rep->evaluate(code,thisV); 115 #if !NDEBUG 116 if (comp.complType() == Throw) { 117 lock(); 118 ExecState *exec = rep->globalExec(); 119 printf("Uncaught exception: %s\n", comp.value().toObject(exec).toString(exec).ascii()); 120 unlock(); 121 } 122 #endif 123 return comp; 115 124 } 116 125
Note:
See TracChangeset
for help on using the changeset viewer.