author | Jan de Mooij <jdemooij@mozilla.com> |
Fri, 01 Aug 2014 16:39:52 +0200 | |
changeset 197374 | a5f6625bbdf2c502ecf68ac1bceb76e35abd16e0 |
parent 197373 | 44509d134c83e01062667c9bc2b6d69cd31416a7 |
child 197375 | 3e2fb78b8de9ba9e98f1445ab4d26b79ae95bce7 |
push id | 27241 |
push user | ryanvm@gmail.com |
push date | Fri, 01 Aug 2014 19:59:32 +0000 |
treeherder | mozilla-central@3fb88a727814 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | sunfish |
bugs | 1046585 |
milestone | 34.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/src/assembler/assembler/AssemblerBuffer.h +++ b/js/src/assembler/assembler/AssemblerBuffer.h @@ -31,23 +31,23 @@ #define assembler_assembler_AssemblerBuffer_h #include "assembler/wtf/Platform.h" #if ENABLE_ASSEMBLER #include <string.h> #include <limits.h> -#include "assembler/jit/ExecutableAllocator.h" +#include <stdarg.h> -#include <stdarg.h> #include "jsfriendapi.h" #include "jsopcode.h" #include "jsutil.h" +#include "jit/ExecutableAllocator.h" #include "jit/IonSpewer.h" #include "js/RootingAPI.h" #define PRETTY_PRINT_OFFSET(os) (((os)<0)?"-":""), (((os)<0)?-(os):(os)) #define FIXME_INSN_PRINTING \ do { \ spew("FIXME insn printing %s:%d", \
rename from js/src/assembler/jit/ExecutableAllocator.cpp rename to js/src/jit/ExecutableAllocator.cpp --- a/js/src/assembler/jit/ExecutableAllocator.cpp +++ b/js/src/jit/ExecutableAllocator.cpp @@ -20,17 +20,17 @@ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "assembler/jit/ExecutableAllocator.h" +#include "jit/ExecutableAllocator.h" #include "js/MemoryMetrics.h" #if ENABLE_ASSEMBLER namespace JSC { size_t ExecutableAllocator::pageSize = 0;
rename from js/src/assembler/jit/ExecutableAllocatorPosix.cpp rename to js/src/jit/ExecutableAllocatorPosix.cpp --- a/js/src/assembler/jit/ExecutableAllocatorPosix.cpp +++ b/js/src/jit/ExecutableAllocatorPosix.cpp @@ -18,17 +18,17 @@ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "assembler/jit/ExecutableAllocator.h" +#include "jit/ExecutableAllocator.h" #if ENABLE_ASSEMBLER && WTF_OS_UNIX && !WTF_OS_SYMBIAN #include <sys/mman.h> #include <unistd.h> #include "mozilla/DebugOnly.h" #include "mozilla/TaggedAnonymousMemory.h"
rename from js/src/assembler/jit/ExecutableAllocatorWin.cpp rename to js/src/jit/ExecutableAllocatorWin.cpp --- a/js/src/assembler/jit/ExecutableAllocatorWin.cpp +++ b/js/src/jit/ExecutableAllocatorWin.cpp @@ -18,17 +18,17 @@ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "assembler/jit/ExecutableAllocator.h" +#include "jit/ExecutableAllocator.h" #if ENABLE_ASSEMBLER && WTF_OS_WINDOWS #include "jswin.h" #include "mozilla/WindowsVersion.h" extern uint64_t random_next(uint64_t *, int);
--- a/js/src/jit/IonCode.h +++ b/js/src/jit/IonCode.h @@ -9,18 +9,18 @@ #include "mozilla/Atomics.h" #include "mozilla/MemoryReporting.h" #include "mozilla/PodOperations.h" #include "jsinfer.h" #include "jstypes.h" -#include "assembler/jit/ExecutableAllocator.h" #include "gc/Heap.h" +#include "jit/ExecutableAllocator.h" #include "jit/IonOptimizationLevels.h" #include "jit/IonTypes.h" namespace JSC { class ExecutablePool; } namespace js {
--- a/js/src/jit/IonLinker.h +++ b/js/src/jit/IonLinker.h @@ -6,17 +6,17 @@ #ifndef jit_IonLinker_h #define jit_IonLinker_h #include "jscntxt.h" #include "jscompartment.h" #include "jsgc.h" -#include "assembler/jit/ExecutableAllocator.h" +#include "jit/ExecutableAllocator.h" #include "jit/IonCode.h" #include "jit/IonMacroAssembler.h" #include "jit/JitCompartment.h" namespace js { namespace jit { class Linker
--- a/js/src/jit/arm/Assembler-arm.cpp +++ b/js/src/jit/arm/Assembler-arm.cpp @@ -7,19 +7,19 @@ #include "jit/arm/Assembler-arm.h" #include "mozilla/DebugOnly.h" #include "mozilla/MathAlgorithms.h" #include "jscompartment.h" #include "jsutil.h" -#include "assembler/jit/ExecutableAllocator.h" #include "gc/Marking.h" #include "jit/arm/MacroAssembler-arm.h" +#include "jit/ExecutableAllocator.h" #include "jit/JitCompartment.h" using namespace js; using namespace js::jit; using mozilla::CountLeadingZeroes32; void dbg_break() {}
--- a/js/src/jit/mips/Assembler-mips.cpp +++ b/js/src/jit/mips/Assembler-mips.cpp @@ -7,18 +7,18 @@ #include "jit/mips/Assembler-mips.h" #include "mozilla/DebugOnly.h" #include "mozilla/MathAlgorithms.h" #include "jscompartment.h" #include "jsutil.h" -#include "assembler/jit/ExecutableAllocator.h" #include "gc/Marking.h" +#include "jit/ExecutableAllocator.h" #include "jit/JitCompartment.h" using mozilla::DebugOnly; using namespace js; using namespace js::jit; ABIArgGenerator::ABIArgGenerator()
--- a/js/src/jit/none/BaseMacroAssembler-none.h +++ b/js/src/jit/none/BaseMacroAssembler-none.h @@ -12,14 +12,15 @@ // IonSpewer.h is included through MacroAssembler implementations for other // platforms, so include it here to avoid inadvertent build bustage. #include "jit/IonSpewer.h" namespace JSC { class MacroAssemblerNone { + public: static bool supportsFloatingPoint() { return false; } }; } // namespace JSC #endif /* jit_none_BaseMacroAssembler_none_h */
--- a/js/src/moz.build +++ b/js/src/moz.build @@ -97,17 +97,16 @@ EXPORTS.js += [ ] UNIFIED_SOURCES += [ 'asmjs/AsmJSFrameIterator.cpp', 'asmjs/AsmJSLink.cpp', 'asmjs/AsmJSModule.cpp', 'asmjs/AsmJSSignalHandlers.cpp', 'asmjs/AsmJSValidate.cpp', - 'assembler/jit/ExecutableAllocator.cpp', 'builtin/Eval.cpp', 'builtin/Intl.cpp', 'builtin/MapObject.cpp', 'builtin/Object.cpp', 'builtin/Profilers.cpp', 'builtin/SIMD.cpp', 'builtin/SymbolObject.cpp', 'builtin/TestingFunctions.cpp', @@ -154,16 +153,17 @@ UNIFIED_SOURCES += [ 'jit/BaselineJIT.cpp', 'jit/BitSet.cpp', 'jit/BytecodeAnalysis.cpp', 'jit/C1Spewer.cpp', 'jit/CodeGenerator.cpp', 'jit/CompileWrappers.cpp', 'jit/EdgeCaseAnalysis.cpp', 'jit/EffectiveAddressAnalysis.cpp', + 'jit/ExecutableAllocator.cpp', 'jit/Ion.cpp', 'jit/IonAnalysis.cpp', 'jit/IonBuilder.cpp', 'jit/IonCaches.cpp', 'jit/IonFrames.cpp', 'jit/IonMacroAssembler.cpp', 'jit/IonOptimizationLevels.cpp', 'jit/IonSpewer.cpp', @@ -358,23 +358,23 @@ elif CONFIG['JS_CODEGEN_ARM']: ] if CONFIG['JS_ARM_SIMULATOR']: UNIFIED_SOURCES += [ 'jit/arm/Simulator-arm.cpp' ] if CONFIG['OS_ARCH'] == 'WINNT': SOURCES += [ - 'assembler/jit/ExecutableAllocatorWin.cpp', + 'jit/ExecutableAllocatorWin.cpp', ] # _CRT_RAND_S must be #defined before #including stdlib.h to get rand_s() DEFINES['_CRT_RAND_S'] = True else: SOURCES += [ - 'assembler/jit/ExecutableAllocatorPosix.cpp', + 'jit/ExecutableAllocatorPosix.cpp', ] if CONFIG['ENABLE_ION']: if CONFIG['JS_CODEGEN_X86'] or CONFIG['JS_CODEGEN_X64']: SOURCES += [ 'assembler/assembler/MacroAssemblerX86Common.cpp', ] elif CONFIG['JS_CODEGEN_ARM']: