diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2014-06-05 21:57:01 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-10 14:09:51 +0200 |
commit | cf5961a8fdfaff0b06e58e02a4f962847230d715 (patch) | |
tree | 6585ad436c688a5d31624373a86a559e9ac18af4 /src/qml/jit/qv4targetplatform_p.h | |
parent | ac56e7cda724aa7463ef6ffe5f0e93bd3208cb51 (diff) |
Add FreeBSD support to qv4targetplatform_p.h
Currently, that code only works on Linux, Windows, Mac OS X
and QNX on x86 and x86_64 processors.
Change-Id: I07f2cb4cb9b8556d4bcd681c6a1f997dc3897901
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/qml/jit/qv4targetplatform_p.h')
-rw-r--r-- | src/qml/jit/qv4targetplatform_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jit/qv4targetplatform_p.h b/src/qml/jit/qv4targetplatform_p.h index 894d7cb409..c8e1f74611 100644 --- a/src/qml/jit/qv4targetplatform_p.h +++ b/src/qml/jit/qv4targetplatform_p.h @@ -64,7 +64,7 @@ namespace JIT { class TargetPlatform { public: -#if CPU(X86) && (OS(LINUX) || OS(WINDOWS) || OS(QNX)) +#if CPU(X86) && (OS(LINUX) || OS(WINDOWS) || OS(QNX) || OS(FREEBSD)) enum { RegAllocIsSupported = 1 }; static const JSC::MacroAssembler::RegisterID StackFrameRegister = JSC::X86Registers::ebp; @@ -133,7 +133,7 @@ public: #endif // Windows on x86 -#if CPU(X86_64) && (OS(LINUX) || OS(MAC_OS_X)) +#if CPU(X86_64) && (OS(LINUX) || OS(MAC_OS_X) || OS(FREEBSD)) enum { RegAllocIsSupported = 1 }; static const JSC::MacroAssembler::RegisterID StackFrameRegister = JSC::X86Registers::ebp; |