1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * vim: set ts=8 sts=4 et sw=4 tw=99:
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 #include "jscompartment.h"
8
9 #include "jit/Bailouts.h"
10 #include "jit/BaselineIC.h"
11 #include "jit/IonCaches.h"
12
13 using namespace js;
14 using namespace js::jit;
15
16 // This file includes stubs for generating the JIT trampolines when there is no
17 // JIT backend, and also includes implementations for assorted random things
18 // which can't be implemented in headers.
19
generateEnterJIT(JSContext *,EnterJitType)20 JitCode* JitRuntime::generateEnterJIT(JSContext*, EnterJitType) { MOZ_CRASH(); }
generateInvalidator(JSContext *)21 JitCode* JitRuntime::generateInvalidator(JSContext*) { MOZ_CRASH(); }
generateArgumentsRectifier(JSContext *,void **)22 JitCode* JitRuntime::generateArgumentsRectifier(JSContext*, void**) { MOZ_CRASH(); }
generateBailoutTable(JSContext *,uint32_t)23 JitCode* JitRuntime::generateBailoutTable(JSContext*, uint32_t) { MOZ_CRASH(); }
generateBailoutHandler(JSContext *)24 JitCode* JitRuntime::generateBailoutHandler(JSContext*) { MOZ_CRASH(); }
generateVMWrapper(JSContext *,const VMFunction &)25 JitCode* JitRuntime::generateVMWrapper(JSContext*, const VMFunction&) { MOZ_CRASH(); }
generatePreBarrier(JSContext *,MIRType)26 JitCode* JitRuntime::generatePreBarrier(JSContext*, MIRType) { MOZ_CRASH(); }
generateDebugTrapHandler(JSContext *)27 JitCode* JitRuntime::generateDebugTrapHandler(JSContext*) { MOZ_CRASH(); }
generateExceptionTailStub(JSContext *,void *)28 JitCode* JitRuntime::generateExceptionTailStub(JSContext*, void*) { MOZ_CRASH(); }
generateBailoutTailStub(JSContext *)29 JitCode* JitRuntime::generateBailoutTailStub(JSContext*) { MOZ_CRASH(); }
30
FromDepth(uint32_t)31 FrameSizeClass FrameSizeClass::FromDepth(uint32_t) { MOZ_CRASH(); }
ClassLimit()32 FrameSizeClass FrameSizeClass::ClassLimit() { MOZ_CRASH(); }
frameSize() const33 uint32_t FrameSizeClass::frameSize() const { MOZ_CRASH(); }
34
BailoutFrameInfo(const JitActivationIterator & iter,BailoutStack * bailout)35 BailoutFrameInfo::BailoutFrameInfo(const JitActivationIterator& iter, BailoutStack* bailout)
36 {
37 MOZ_CRASH();
38 }
39
BailoutFrameInfo(const JitActivationIterator & iter,InvalidationBailoutStack * bailout)40 BailoutFrameInfo::BailoutFrameInfo(const JitActivationIterator& iter, InvalidationBailoutStack* bailout)
41 {
42 MOZ_CRASH();
43 }
44
generateStubCode(MacroAssembler &)45 bool ICCompare_Int32::Compiler::generateStubCode(MacroAssembler&) { MOZ_CRASH(); }
generateStubCode(MacroAssembler &)46 bool ICCompare_Double::Compiler::generateStubCode(MacroAssembler&) { MOZ_CRASH(); }
generateStubCode(MacroAssembler &)47 bool ICBinaryArith_Int32::Compiler::generateStubCode(MacroAssembler&) { MOZ_CRASH(); }
generateStubCode(MacroAssembler &)48 bool ICUnaryArith_Int32::Compiler::generateStubCode(MacroAssembler&) { MOZ_CRASH(); }
generateProfilerExitFrameTailStub(JSContext *)49 JitCode* JitRuntime::generateProfilerExitFrameTailStub(JSContext*) { MOZ_CRASH(); }
50