/*
- * 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
#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
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;