summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/jit/TempRegisterSet.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-05-24 08:28:08 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-05-24 08:28:08 +0000
commita4e969f4965059196ca948db781e52f7cfebf19e (patch)
tree6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/JavaScriptCore/jit/TempRegisterSet.cpp
parent41386e9cb918eed93b3f13648cbef387e371e451 (diff)
downloadWebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz
webkitgtk-2.12.3webkitgtk-2.12.3
Diffstat (limited to 'Source/JavaScriptCore/jit/TempRegisterSet.cpp')
-rw-r--r--Source/JavaScriptCore/jit/TempRegisterSet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/jit/TempRegisterSet.cpp b/Source/JavaScriptCore/jit/TempRegisterSet.cpp
index 9d80bbc57..9c2e73d43 100644
--- a/Source/JavaScriptCore/jit/TempRegisterSet.cpp
+++ b/Source/JavaScriptCore/jit/TempRegisterSet.cpp
@@ -28,12 +28,15 @@
#if ENABLE(JIT)
+#include "JSCInlines.h"
#include "RegisterSet.h"
namespace JSC {
TempRegisterSet::TempRegisterSet(const RegisterSet& other)
{
+ clearAll();
+
for (unsigned i = GPRInfo::numberOfRegisters; i--;) {
GPRReg reg = GPRInfo::toRegister(i);
if (other.get(reg))