Unused include files when building without JIT.

https://bugs.webkit.org/show_bug.cgi?id=125062

Patch by László Langó <lango@inf.u-szeged.hu> on 2013-12-02
Reviewed by Michael Saboff.

We should organize the includes, and guard JIT methods
in ValueRecovery.

* bytecode/ValueRecovery.cpp: Guard include files.
* bytecode/ValueRecovery.h: Guard JIT methods.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 13da9276
2013-12-02 László Langó <lango@inf.u-szeged.hu>
Unused include files when building without JIT.
https://bugs.webkit.org/show_bug.cgi?id=125062
Reviewed by Michael Saboff.
We should organize the includes, and guard JIT methods
in ValueRecovery.
* bytecode/ValueRecovery.cpp: Guard include files.
* bytecode/ValueRecovery.h: Guard JIT methods.
2013-12-02 Balazs Kilvady <kilvadyb@homejinni.com>
[MIPS] Small stack frame causes regressions.
......
......@@ -60,6 +60,8 @@ JSValue ValueRecovery::recover(ExecState* exec) const
}
}
#if ENABLE(JIT)
void ValueRecovery::dumpInContext(PrintStream& out, DumpContext* context) const
{
switch (technique()) {
......@@ -130,6 +132,7 @@ void ValueRecovery::dump(PrintStream& out) const
{
dumpInContext(out, 0);
}
#endif // ENABLE(JIT)
} // namespace JSC
......@@ -27,12 +27,13 @@
#define ValueRecovery_h
#include "DataFormat.h"
#if ENABLE(JIT)
#include "GPRInfo.h"
#include "FPRInfo.h"
#endif
#include "JSCJSValue.h"
#include "MacroAssembler.h"
#include "VirtualRegister.h"
#include <stdio.h>
#include <wtf/Platform.h>
namespace JSC {
......@@ -246,8 +247,10 @@ public:
JSValue recover(ExecState*) const;
#if ENABLE(JIT)
void dumpInContext(PrintStream& out, DumpContext* context) const;
void dump(PrintStream& out) const;
#endif
private:
ValueRecoveryTechnique m_technique;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment