Changeset 171213 in webkit for trunk/Source/JavaScriptCore/jit/AssemblyHelpers.h
- Timestamp:
- Jul 17, 2014, 9:34:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/AssemblyHelpers.h
r168776 r171213 482 482 #endif 483 483 484 void callExceptionFuzz(); 485 484 486 enum ExceptionCheckKind { NormalExceptionCheck, InvertedExceptionCheck }; 485 Jump emitExceptionCheck(ExceptionCheckKind kind = NormalExceptionCheck) 486 { 487 #if USE(JSVALUE64) 488 return branchTest64(kind == NormalExceptionCheck ? NonZero : Zero, AbsoluteAddress(vm()->addressOfException())); 489 #elif USE(JSVALUE32_64) 490 return branch32(kind == NormalExceptionCheck ? NotEqual : Equal, AbsoluteAddress(reinterpret_cast<char*>(vm()->addressOfException()) + OBJECT_OFFSETOF(JSValue, u.asBits.tag)), TrustedImm32(JSValue::EmptyValueTag)); 491 #endif 492 } 487 Jump emitExceptionCheck(ExceptionCheckKind kind = NormalExceptionCheck); 493 488 494 489 #if ENABLE(SAMPLING_COUNTERS)
Note:
See TracChangeset
for help on using the changeset viewer.