Skip to content

Commit 3dc743d

Browse files
author
Ary Borenszweig
committedMar 3, 2017
Codegen: define __crystal_malloc_atomic first before any other code
This should fix the travis build.
1 parent ac7a5f0 commit 3dc743d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/compiler/crystal/codegen/codegen.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ module Crystal
277277

278278
def visit(node : FunDef)
279279
case node.name
280-
when MALLOC_NAME, REALLOC_NAME, RAISE_NAME, PERSONALITY_NAME, GET_EXCEPTION_NAME
280+
when MALLOC_NAME, MALLOC_ATOMIC_NAME, REALLOC_NAME, RAISE_NAME, PERSONALITY_NAME, GET_EXCEPTION_NAME
281281
@codegen.accept node
282282
end
283283
false

0 commit comments

Comments
 (0)
Please sign in to comment.