fpc/compiler/wasm32/ccpuinnr.inc
Nikolay Nikolov c2754eac3f + introduced the wasm32_throw_fpcexception inline function, that emits a
'throw' instruction. This way we'll be able to emit this instruction from
  RTL code (i.e. from fpc_raiseexception, when that is implemented for
  WebAssembly)
2021-09-18 02:39:16 +03:00

20 lines
662 B
PHP

{
This file is part of the Free Pascal run time library.
Copyright (c) 2021 by the Free Pascal development team.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
in_wasm32_memory_size = in_cpu_first,
in_wasm32_memory_grow = in_cpu_first+1,
in_wasm32_unreachable = in_cpu_first+2,
in_wasm32_throw_fpcexception = in_cpu_first+3