Skip to content

Commit

Permalink
change arms of if bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbackrack committed Jan 28, 2025
1 parent e72f91f commit ca854d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/heap-analysis.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ lostanza defn class-name (x:ref<Int>) -> ref<String> :

#if-defined(BOOTSTRAP) :

public defn heap-dominator-tree (filename:String) : false

#else :

;;; INTERFACE TO STANZA MEMORY SYSTEM

lostanza defn addrs (dom:ptr<core/HeapDominator>) -> ptr<LSLongVector> :
Expand Down Expand Up @@ -364,7 +368,3 @@ lostanza defn class-name (x:ref<Int>) -> ref<String> :
; id-print-stat(id, tag-of(objs, id), tot-size, size-of(objs, id))
; println("")

#else :

public defn heap-dominator-tree (filename:String) : false

0 comments on commit ca854d2

Please sign in to comment.