summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h')
-rw-r--r--Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h b/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h
index 8d863a129..06db3dedb 100644
--- a/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h
+++ b/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.h
@@ -23,10 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FTLForOSREntryJITCode_h
-#define FTLForOSREntryJITCode_h
-
-#include <wtf/Platform.h>
+#pragma once
#if ENABLE(FTL_JIT)
@@ -48,7 +45,7 @@ public:
ForOSREntryJITCode();
~ForOSREntryJITCode();
- void initializeEntryBuffer(VM&, unsigned numCalleeRegisters);
+ void initializeEntryBuffer(VM&, unsigned numCalleeLocals);
ScratchBuffer* entryBuffer() const { return m_entryBuffer; }
void setBytecodeIndex(unsigned value) { m_bytecodeIndex = value; }
@@ -68,6 +65,3 @@ private:
} } // namespace JSC::FTL
#endif // ENABLE(FLT_JIT)
-
-#endif // FTLForOSREntryJITCode_h
-