File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
src/main/clojure/clojure/core/async/impl Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 30
30
(pprint x)
31
31
x )
32
32
33
-
34
- (def ^:const FN-IDX 0 )
35
- (def ^:const STATE-IDX 1 )
36
- (def ^:const VALUE-IDX 2 )
37
- (def ^:const BINDINGS-IDX 3 )
38
- (def ^:const EXCEPTION-FRAMES 4 )
39
- (def ^:const USER-START-IDX 5 )
40
-
41
- (defn aset-object [^AtomicReferenceArray arr idx ^Object o]
33
+ (def ^{:const true :tag 'long} FN-IDX 0 )
34
+ (def ^{:const true :tag 'long} STATE-IDX 1 )
35
+ (def ^{:const true :tag 'long} VALUE-IDX 2 )
36
+ (def ^{:const true :tag 'long} BINDINGS-IDX 3 )
37
+ (def ^{:const true :tag 'long} EXCEPTION-FRAMES 4 )
38
+ (def ^{:const true :tag 'long} USER-START-IDX 5 )
39
+
40
+ (defn aset-object [^AtomicReferenceArray arr ^long idx o]
42
41
(.set arr idx o))
43
42
44
- (defn aget-object [^AtomicReferenceArray arr idx]
43
+ (defn aget-object [^AtomicReferenceArray arr ^long idx]
45
44
(.get arr idx))
46
45
47
46
(defmacro aset-all!
You can’t perform that action at this time.
0 commit comments