Changeset 108358 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
- Timestamp:
- Feb 21, 2012, 8:26:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
r108309 r108358 32 32 #include "UnusedParam.h" 33 33 34 #if ENABLE(ASSEMBLER) 35 34 36 // ASSERT_VALID_CODE_POINTER checks that ptr is a non-null pointer, and that it is a valid 35 37 // instruction address on the platform (for example, check any alignment requirements). … … 272 274 ASSERT_VALID_CODE_POINTER(m_value); 273 275 } 274 275 static MacroAssemblerCodePtr createFromExecutableAddress(void* value)276 {277 ASSERT_VALID_CODE_POINTER(value);278 MacroAssemblerCodePtr result;279 result.m_value = value;280 return result;281 }282 276 283 277 explicit MacroAssemblerCodePtr(ReturnAddressPtr ra) … … 367 361 } // namespace JSC 368 362 363 #endif // ENABLE(ASSEMBLER) 364 369 365 #endif // MacroAssemblerCodeRef_h
Note:
See TracChangeset
for help on using the changeset viewer.