Skip to content

Commit

Permalink
Use OMR formatting constants in tril MaxMinTest
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Young <rwy0717@gmail.com>
  • Loading branch information
rwy7 committed Feb 22, 2019
1 parent 13b2750 commit 28c1d1a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fvtest/compilertriltest/MaxMinTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "OpCodeTest.hpp"
#include "default_compiler.hpp"
#include "omrformatconsts.h"

int32_t imax(int32_t l, int32_t r) {
return std::max(l,r);
Expand Down Expand Up @@ -48,8 +49,8 @@ TEST_P(Int32MaxMin, UsingConst) {
" (block"
" (ireturn"
" (%s"
" (iconst %lld)"
" (iconst %lld))"
" (iconst %" OMR_PRId32 ")"
" (iconst %" OMR_PRId32 "))"
")))",
param.opcode.c_str(),
param.lhs,
Expand Down Expand Up @@ -109,8 +110,8 @@ TEST_P(Int64MaxMin, UsingConst) {
" (block"
" (lreturn"
" (%s"
" (lconst %lld)"
" (lconst %lld))"
" (lconst %" OMR_PRId64 ")"
" (lconst %" OMR_PRId64 "))"
")))",
param.opcode.c_str(),
param.lhs,
Expand Down

0 comments on commit 28c1d1a

Please sign in to comment.