Skip to content

Commit

Permalink
ppc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Jul 30, 2024
1 parent 976c7ea commit 91dc609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/llvm_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ struct llvm_state::jit {
#elif defined(HEYOKA_ARCH_ARM)
code_model::tiny, code_model::small, code_model::large
#elif defined(HEYOKA_ARCH_PPC)
code_model::tiny, code_model::small, code_model::medium, code_model::large
code_model::small, code_model::medium, code_model::large
#else
// NOTE: by default we assume only small and large are supported.
code_model::small, code_model::large
Expand Down
4 changes: 2 additions & 2 deletions test/llvm_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,8 @@ TEST_CASE("code model")
REQUIRE(oss.str() == "small");
}

// code_model::tiny not supported on x86.
#if defined(HEYOKA_ARCH_X86)
// code_model::tiny not supported on x86 or ppc.
#if defined(HEYOKA_ARCH_X86) || defined(HEYOKA_ARCH_PPC)

{
std::ostringstream oss;
Expand Down

0 comments on commit 91dc609

Please sign in to comment.