mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Use a module to group calling convention values, too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -496,9 +496,9 @@ let test_functions () =
|
||||
*)
|
||||
group "callconv";
|
||||
let fn = define_function "Fn5" ty m in
|
||||
insist (ccc = function_call_conv fn);
|
||||
set_function_call_conv fastcc fn;
|
||||
insist (fastcc = function_call_conv fn);
|
||||
insist (CallConv.c = function_call_conv fn);
|
||||
set_function_call_conv CallConv.fast fn;
|
||||
insist (CallConv.fast = function_call_conv fn);
|
||||
ignore (build_unreachable (builder_at_end (entry_block fn)));
|
||||
|
||||
begin group "collector";
|
||||
|
Reference in New Issue
Block a user