Changeset 155260 in webkit for trunk/Source/JavaScriptCore/ftl/FTLOutput.h
- Timestamp:
- Sep 7, 2013, 2:13:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLOutput.h
r155023 r155260 109 109 LValue constInt32(int32_t value) { return constInt(int32, value); } 110 110 template<typename T> 111 LValue constIntPtr(T value) { return constInt(intPtr, bitwise_cast<intptr_t>(value)); } 111 LValue constIntPtr(T* value) { return constInt(intPtr, bitwise_cast<intptr_t>(value)); } 112 template<typename T> 113 LValue constIntPtr(T value) { return constInt(intPtr, static_cast<intptr_t>(value)); } 112 114 LValue constInt64(int64_t value) { return constInt(int64, value); } 113 115 LValue constDouble(double value) { return constReal(doubleType, value); } … … 170 172 } 171 173 174 LValue signExt(LValue value, LType type) { return buildSExt(m_builder, value, type); } 172 175 LValue zeroExt(LValue value, LType type) { return buildZExt(m_builder, value, type); } 173 176 LValue fpToInt(LValue value, LType type) { return buildFPToSI(m_builder, value, type); } … … 179 182 LValue intCast(LValue value, LType type) { return buildIntCast(m_builder, value, type); } 180 183 LValue castToInt32(LValue value) { return intCast(value, int32); } 184 LValue fpCast(LValue value, LType type) { return buildFPCast(m_builder, value, type); } 181 185 LValue intToPtr(LValue value, LType type) { return buildIntToPtr(m_builder, value, type); } 182 186 LValue bitCast(LValue value, LType type) { return buildBitCast(m_builder, value, type); } … … 202 206 LValue load64(TypedPointer pointer) { return load(pointer, ref64); } 203 207 LValue loadPtr(TypedPointer pointer) { return load(pointer, refPtr); } 208 LValue loadFloat(TypedPointer pointer) { return load(pointer, refFloat); } 204 209 LValue loadDouble(TypedPointer pointer) { return load(pointer, refDouble); } 205 210 void store32(LValue value, TypedPointer pointer) { store(value, pointer, ref32); }
Note:
See TracChangeset
for help on using the changeset viewer.