diff options
Diffstat (limited to 'Tools/jit')
-rw-r--r-- | Tools/jit/_targets.py | 4 | ||||
-rw-r--r-- | Tools/jit/_writer.py | 4 | ||||
-rw-r--r-- | Tools/jit/shim.c (renamed from Tools/jit/trampoline.c) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Tools/jit/_targets.py b/Tools/jit/_targets.py index 634208d..d8dce0a 100644 --- a/Tools/jit/_targets.py +++ b/Tools/jit/_targets.py @@ -154,8 +154,8 @@ class _Target(typing.Generic[_S, _R]): with tempfile.TemporaryDirectory() as tempdir: work = pathlib.Path(tempdir).resolve() async with asyncio.TaskGroup() as group: - coro = self._compile("trampoline", TOOLS_JIT / "trampoline.c", work) - tasks.append(group.create_task(coro, name="trampoline")) + coro = self._compile("shim", TOOLS_JIT / "shim.c", work) + tasks.append(group.create_task(coro, name="shim")) template = TOOLS_JIT_TEMPLATE_C.read_text() for case, opname in cases_and_opnames: # Write out a copy of the template with *only* this case diff --git a/Tools/jit/_writer.py b/Tools/jit/_writer.py index f33d8ef..81a9f08 100644 --- a/Tools/jit/_writer.py +++ b/Tools/jit/_writer.py @@ -22,11 +22,11 @@ def _dump_footer( yield " symbol_mask trampoline_mask;" yield "} StencilGroup;" yield "" - yield f"static const StencilGroup trampoline = {groups['trampoline'].as_c('trampoline')};" + yield f"static const StencilGroup shim = {groups['shim'].as_c('shim')};" yield "" yield "static const StencilGroup stencil_groups[MAX_UOP_ID + 1] = {" for opname, group in sorted(groups.items()): - if opname == "trampoline": + if opname == "shim": continue yield f" [{opname}] = {group.as_c(opname)}," yield "};" diff --git a/Tools/jit/trampoline.c b/Tools/jit/shim.c index f0cffa2..f0cffa2 100644 --- a/Tools/jit/trampoline.c +++ b/Tools/jit/shim.c |