mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1213741 - IonMonkey: MIPS64: Import BaselineCompiler-mips64. r=nbp f=rankov
--- js/src/jit/mips64/BaselineCompiler-mips64.cpp | 16 ++++++++++++++++ js/src/jit/mips64/BaselineCompiler-mips64.h | 26 ++++++++++++++++++++++++++ js/src/moz.build | 1 + 3 files changed, 43 insertions(+) create mode 100644 js/src/jit/mips64/BaselineCompiler-mips64.cpp create mode 100644 js/src/jit/mips64/BaselineCompiler-mips64.h
This commit is contained in:
parent
01534d16b4
commit
428666ce74
16
js/src/jit/mips64/BaselineCompiler-mips64.cpp
Normal file
16
js/src/jit/mips64/BaselineCompiler-mips64.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
* vim: set ts=8 sts=4 et sw=4 tw=99:
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "jit/mips64/BaselineCompiler-mips64.h"
|
||||
|
||||
using namespace js;
|
||||
using namespace js::jit;
|
||||
|
||||
BaselineCompilerMIPS64::BaselineCompilerMIPS64(JSContext* cx, TempAllocator& alloc,
|
||||
JSScript* script)
|
||||
: BaselineCompilerMIPSShared(cx, alloc, script)
|
||||
{
|
||||
}
|
26
js/src/jit/mips64/BaselineCompiler-mips64.h
Normal file
26
js/src/jit/mips64/BaselineCompiler-mips64.h
Normal file
@ -0,0 +1,26 @@
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
* vim: set ts=8 sts=4 et sw=4 tw=99:
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef jit_mips64_BaselineCompiler_mips64_h
|
||||
#define jit_mips64_BaselineCompiler_mips64_h
|
||||
|
||||
#include "jit/mips-shared/BaselineCompiler-mips-shared.h"
|
||||
|
||||
namespace js {
|
||||
namespace jit {
|
||||
|
||||
class BaselineCompilerMIPS64 : public BaselineCompilerMIPSShared
|
||||
{
|
||||
protected:
|
||||
BaselineCompilerMIPS64(JSContext* cx, TempAllocator& alloc, JSScript* script);
|
||||
};
|
||||
|
||||
typedef BaselineCompilerMIPS64 BaselineCompilerSpecific;
|
||||
|
||||
} // namespace jit
|
||||
} // namespace js
|
||||
|
||||
#endif /* jit_mips64_BaselineCompiler_mips64_h */
|
@ -511,6 +511,7 @@ elif CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
|
||||
'jit/mips64/Architecture-mips64.cpp',
|
||||
'jit/mips64/Assembler-mips64.cpp',
|
||||
'jit/mips64/Bailouts-mips64.cpp',
|
||||
'jit/mips64/BaselineCompiler-mips64.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
|
Loading…
Reference in New Issue
Block a user