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