Skip to content

Commit

Permalink
Codegen: define __crystal_malloc_atomic first before any other code
Browse files Browse the repository at this point in the history
This should fix the travis build.
  • Loading branch information
Ary Borenszweig committed Mar 3, 2017
1 parent ac7a5f0 commit 3dc743d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/codegen/codegen.cr
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ module Crystal

def visit(node : FunDef)
case node.name
when MALLOC_NAME, REALLOC_NAME, RAISE_NAME, PERSONALITY_NAME, GET_EXCEPTION_NAME
when MALLOC_NAME, MALLOC_ATOMIC_NAME, REALLOC_NAME, RAISE_NAME, PERSONALITY_NAME, GET_EXCEPTION_NAME
@codegen.accept node
end
false
Expand Down

0 comments on commit 3dc743d

Please sign in to comment.