Changeset 177316 in webkit for trunk/Source/JavaScriptCore/ftl/FTLAbbreviations.h
- Timestamp:
- Dec 15, 2014, 3:24:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLAbbreviations.h
r177284 r177316 121 121 static inline LValue mdNode(LContext context, LValue* args, unsigned numArgs) { return llvm->MDNodeInContext(context, args, numArgs); } 122 122 template<typename VectorType> 123 static inline LValue mdNode(LContext context, const VectorType& vector) { return mdNode(context, const_cast<LValue*>(vector. data()), vector.size()); }123 static inline LValue mdNode(LContext context, const VectorType& vector) { return mdNode(context, const_cast<LValue*>(vector.begin()), vector.size()); } 124 124 static inline LValue mdNode(LContext context) { return mdNode(context, 0, 0); } 125 125 static inline LValue mdNode(LContext context, LValue arg1) { return mdNode(context, &arg1, 1); } … … 289 289 inline LValue buildCall(LBuilder builder, LValue function, const VectorType& vector) 290 290 { 291 return buildCall(builder, function, vector. data(), vector.size());291 return buildCall(builder, function, vector.begin(), vector.size()); 292 292 } 293 293 static inline LValue buildCall(LBuilder builder, LValue function)
Note:
See TracChangeset
for help on using the changeset viewer.