Modified: trunk/Source/_javascript_Core/ChangeLog (158987 => 158988)
--- trunk/Source/_javascript_Core/ChangeLog 2013-11-09 04:17:42 UTC (rev 158987)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-11-09 04:20:47 UTC (rev 158988)
@@ -1,5 +1,16 @@
2013-11-08 Filip Pizlo <[email protected]>
+ Get rid of the FTL tail call APIs since they are unused
+ https://bugs.webkit.org/show_bug.cgi?id=124093
+
+ Reviewed by Oliver Hunt.
+
+ * ftl/FTLAbbreviations.h:
+ (JSC::FTL::buildCall):
+ * ftl/FTLOutput.h:
+
+2013-11-08 Filip Pizlo <[email protected]>
+
FTL should support AllocatePropertyStorage
https://bugs.webkit.org/show_bug.cgi?id=124086
Modified: trunk/Source/_javascript_Core/ftl/FTLAbbreviations.h (158987 => 158988)
--- trunk/Source/_javascript_Core/ftl/FTLAbbreviations.h 2013-11-09 04:17:42 UTC (rev 158987)
+++ trunk/Source/_javascript_Core/ftl/FTLAbbreviations.h 2013-11-09 04:20:47 UTC (rev 158988)
@@ -269,8 +269,6 @@
LValue args[] = { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 };
return buildCall(builder, function, args, 8);
}
-enum TailCallMode { IsNotTailCall, IsTailCall };
-static inline void setTailCall(LValue call, TailCallMode mode) { llvm->SetTailCall(call, mode == IsTailCall); }
static inline LValue buildExtractValue(LBuilder builder, LValue aggVal, unsigned index) { return llvm->BuildExtractValue(builder, aggVal, index, ""); }
static inline LValue buildSelect(LBuilder builder, LValue condition, LValue taken, LValue notTaken) { return llvm->BuildSelect(builder, condition, taken, notTaken, ""); }
static inline LValue buildBr(LBuilder builder, LBasicBlock destination) { return llvm->BuildBr(builder, destination); }
Modified: trunk/Source/_javascript_Core/ftl/FTLOutput.h (158987 => 158988)
--- trunk/Source/_javascript_Core/ftl/FTLOutput.h 2013-11-09 04:17:42 UTC (rev 158987)
+++ trunk/Source/_javascript_Core/ftl/FTLOutput.h 2013-11-09 04:20:47 UTC (rev 158988)
@@ -361,12 +361,6 @@
return intToPtr(constIntPtr(function), pointerType(operationType(function)));
}
- LValue convertToTailCall(LValue call)
- {
- setTailCall(call, IsTailCall);
- return call;
- }
-
void jump(LBasicBlock destination) { buildBr(m_builder, destination); }
void branch(LValue condition, LBasicBlock taken, LBasicBlock notTaken) { buildCondBr(m_builder, condition, taken, notTaken); }
template<typename VectorType>