Skip to content

Commit

Permalink
change GC_malloc to an indirect runtime function
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyiteng committed Nov 23, 2019
1 parent 688bcfd commit 75ff4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/jlang/util/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Constants {

public static final String PRIMITIVE_CLASS_OBJECT_SUFFIX = "ClassObject";

public static final String CALLOC = "GC_malloc";
public static final String CALLOC = "__GC_malloc";
public static final String ENTRY_TRAMPOLINE = "Java_jlang_runtime_MainWrapper_main";
public static final int LLVM_ADDR_SPACE = 0;

Expand Down

0 comments on commit 75ff4c5

Please sign in to comment.