1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/bindings/ocaml/llvm
whitequark d1038a9785 [OCaml] Fix incorrect use of CAMLlocal in nested blocks
Summary:
The OCaml manual states:

> Local variables of type value must be declared with one of the
> CAMLlocal macros. [...] These macros must be used at the beginning
> of the function, not in a nested block.

This patch moves several instances of CAMLlocal macros from nested
blocks to the function beginning.

Reviewers: whitequark

Reviewed By: whitequark

Subscribers: CodaFi, llvm-commits

Differential Revision: https://reviews.llvm.org/D53841

llvm-svn: 346387
2018-11-08 04:00:18 +00:00
..
CMakeLists.txt
llvm_ocaml.c [OCaml] Fix incorrect use of CAMLlocal in nested blocks 2018-11-08 04:00:18 +00:00
llvm.ml [OCaml] Add OCaml API for LLVMGetIndices 2018-09-18 13:35:39 +00:00
llvm.mli [TI removal] Remove TerminatorInst references from bindings. 2018-10-18 07:40:03 +00:00
META.llvm.in