X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/ftl/FTLJSCall.h diff --git a/ftl/FTLJSCall.h b/ftl/FTLJSCall.h index bc2758d..2f5e64a 100644 --- a/ftl/FTLJSCall.h +++ b/ftl/FTLJSCall.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013, 2014 Apple Inc. All rights reserved. + * Copyright (C) 2013-2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -28,28 +28,21 @@ #if ENABLE(FTL_JIT) -#include "CCallHelpers.h" -#include "CallLinkInfo.h" -#include "CodeOrigin.h" +#include "FTLJSCallBase.h" namespace JSC { -class LinkBuffer; - namespace DFG { struct Node; } namespace FTL { -class JSCall { +class JSCall : public JSCallBase { public: JSCall(); JSCall(unsigned stackmapID, DFG::Node*); - void emit(CCallHelpers&); - void link(VM&, LinkBuffer&); - unsigned stackmapID() const { return m_stackmapID; } bool operator<(const JSCall& other) const @@ -59,11 +52,6 @@ public: private: unsigned m_stackmapID; - DFG::Node* m_node; - CCallHelpers::DataLabelPtr m_targetToCheck; - CCallHelpers::Call m_fastCall; - CCallHelpers::Call m_slowCall; - CallLinkInfo* m_callLinkInfo; public: uint32_t m_instructionOffset;