| 1 |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
| 2 |
* vim: set ts=8 sts=2 et sw=2 tw=80: |
| 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 |
#ifndef jit_BaselineICList_h |
| 8 |
#define jit_BaselineICList_h |
| 9 |
|
| 10 |
namespace js { |
| 11 |
namespace jit { |
| 12 |
|
| 13 |
// List of trampolines for Baseline IC fallback stubs. Trampoline code is |
| 14 |
// allocated as part of the JitRuntime. |
| 15 |
#define IC_BASELINE_FALLBACK_CODE_KIND_LIST(_) \ |
| 16 |
_(NewArray) \ |
| 17 |
_(NewObject) \ |
| 18 |
_(Lambda) \ |
| 19 |
_(ToBool) \ |
| 20 |
_(UnaryArith) \ |
| 21 |
_(Call) \ |
| 22 |
_(CallConstructing) \ |
| 23 |
_(SpreadCall) \ |
| 24 |
_(SpreadCallConstructing) \ |
| 25 |
_(GetElem) \ |
| 26 |
_(GetElemSuper) \ |
| 27 |
_(SetElem) \ |
| 28 |
_(In) \ |
| 29 |
_(HasOwn) \ |
| 30 |
_(CheckPrivateField) \ |
| 31 |
_(GetName) \ |
| 32 |
_(BindName) \ |
| 33 |
_(LazyConstant) \ |
| 34 |
_(SetProp) \ |
| 35 |
_(GetIterator) \ |
| 36 |
_(OptimizeSpreadCall) \ |
| 37 |
_(InstanceOf) \ |
| 38 |
_(TypeOf) \ |
| 39 |
_(TypeOfEq) \ |
| 40 |
_(ToPropertyKey) \ |
| 41 |
_(Rest) \ |
| 42 |
_(BinaryArith) \ |
| 43 |
_(Compare) \ |
| 44 |
_(GetProp) \ |
| 45 |
_(GetPropSuper) \ |
| 46 |
_(CloseIter) \ |
| 47 |
_(OptimizeGetIterator) \ |
| 48 |
_(GetImport) |
| 49 |
|
| 50 |
} // namespace jit |
| 51 |
} // namespace js |
| 52 |
|
| 53 |
#endif /* jit_BaselineICList_h */ |