diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp')
-rw-r--r-- | Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp b/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp index 3080dc345..708bedc38 100644 --- a/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp +++ b/Source/JavaScriptCore/ftl/FTLForOSREntryJITCode.cpp @@ -31,8 +31,6 @@ namespace JSC { namespace FTL { ForOSREntryJITCode::ForOSREntryJITCode() - : m_bytecodeIndex(UINT_MAX) - , m_entryFailureCount(0) { } @@ -45,9 +43,9 @@ ForOSREntryJITCode* ForOSREntryJITCode::ftlForOSREntry() return this; } -void ForOSREntryJITCode::initializeEntryBuffer(VM& vm, unsigned numCalleeLocals) +void ForOSREntryJITCode::initializeEntryBuffer(VM& vm, unsigned numCalleeRegisters) { - m_entryBuffer = vm.scratchBufferForSize(numCalleeLocals * sizeof(EncodedJSValue)); + m_entryBuffer = vm.scratchBufferForSize(numCalleeRegisters * sizeof(EncodedJSValue)); } } } // namespace JSC::FTL |