Changeset 14932 in webkit for trunk/JavaScriptCore/bindings/objc/WebScriptObject.mm
- Timestamp:
- Jun 20, 2006, 5:20:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bindings/objc/WebScriptObject.mm
r14836 r14932 176 176 // Lookup the function object. 177 177 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 178 ASSERT(!exec->hadException()); 178 179 179 180 JSLock lock; … … 197 198 LOG_EXCEPTION (exec); 198 199 result = jsUndefined(); 200 exec->clearException(); 199 201 } 200 202 … … 216 218 217 219 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 220 ASSERT(!exec->hadException()); 221 218 222 JSValue *result; 219 220 223 JSLock lock; 221 224 … … 234 237 LOG_EXCEPTION (exec); 235 238 result = jsUndefined(); 239 exec->clearException(); 236 240 } 237 241 … … 252 256 253 257 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 258 ASSERT(!exec->hadException()); 254 259 255 260 JSLock lock; … … 259 264 if (exec->hadException()) { 260 265 LOG_EXCEPTION (exec); 266 exec->clearException(); 261 267 } 262 268 … … 273 279 274 280 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 281 ASSERT(!exec->hadException()); 275 282 276 283 JSLock lock; … … 281 288 LOG_EXCEPTION (exec); 282 289 result = jsUndefined(); 290 exec->clearException(); 283 291 } 284 292 … … 301 309 302 310 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 311 ASSERT(!exec->hadException()); 303 312 304 313 JSLock lock; … … 308 317 if (exec->hadException()) { 309 318 LOG_EXCEPTION (exec); 319 exec->clearException(); 310 320 } 311 321 … … 341 351 342 352 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 353 ASSERT(!exec->hadException()); 354 343 355 JSLock lock; 344 356 JSValue *result = [self _imp]->get (exec, (unsigned)index); … … 347 359 LOG_EXCEPTION (exec); 348 360 result = jsUndefined(); 361 exec->clearException(); 349 362 } 350 363 … … 365 378 366 379 ExecState *exec = [self _executionContext]->interpreter()->globalExec(); 380 ASSERT(!exec->hadException()); 381 367 382 JSLock lock; 368 383 [self _imp]->put (exec, (unsigned)index, (convertObjcValueToValue(exec, &value, ObjcObjectType))); … … 370 385 if (exec->hadException()) { 371 386 LOG_EXCEPTION (exec); 387 exec->clearException(); 372 388 } 373 389
Note:
See TracChangeset
for help on using the changeset viewer.