Commit Graph

191 Commits

Author SHA1 Message Date
Li Jie
e3a2d43ffa runtime: add missing SliceClear 2025-01-08 14:58:59 +08:00
Li Jie
65f855b251 runtime: show stacktrace when panic 2025-01-02 23:27:41 +08:00
xushiwei
97a2824473 Merge pull request #915 from visualfc/runtime.hash
[WIP] internal/runtime: type hash
2024-12-26 08:30:34 +08:00
visualfc
a6a3c09c05 ssa: closure use specific struct field name { $f ftype, $data unsafe.pointer } 2024-12-22 12:44:33 +08:00
visualfc
620cfeabe0 internal/runtime: type hash 2024-12-21 20:07:28 +08:00
visualfc
1d3c98372a internal/runtime: cache rtypeList 2024-12-20 20:45:46 +08:00
visualfc
c1588d70cd internal/runtime: structStr 2024-12-20 16:09:39 +08:00
visualfc
ef28abe896 internal/runtime: funcStr, interfaceStr, array str 2024-12-20 12:33:34 +08:00
visualfc
d251232f8a internal/runtime: named(ptr) type preset for method type 2024-12-20 11:37:30 +08:00
visualfc
ce169163b9 internal/runtime: NewNamedInterface check exist 2024-12-17 21:36:51 +08:00
visualfc
e55a5d7486 internal/runtime: NewNamedInterface, InitNamedInterface 2024-12-16 12:07:13 +08:00
七叶
3505be422e Revert "ssa: defer load/store func and args" 2024-12-03 21:00:49 +08:00
visualfc
11f2ecd675 ssa: defer load/store func and args 2024-11-30 14:31:23 +08:00
Li Jie
ec38943c53 cl: compile cgo 2024-11-13 20:32:08 +08:00
visualfc
6b0122547e reflect.call: internal/abi: TFlagClosure, internal/lib/reflect: flagClosure. 2024-11-01 15:27:40 +08:00
visualfc
c184dc8d2f runtime: fix map len and chan len/cap 2024-09-25 20:51:58 +08:00
visualfc
9eb9b48534 internal/lib/reflect: type.Field FieldByIndex FieldByName 2024-09-22 20:56:15 +08:00
Li Jie
1e58c365ed instead runtime.Zeroinit of memset to compatible build.NaiveForm 2024-09-14 15:44:36 +08:00
visualfc
aa33ddcf19 runtime: fix multi chan recv/send select 2024-09-11 16:09:15 +08:00
visualfc
d6d0faac6e build: check -tags nogc 2024-08-16 11:34:58 +08:00
visualfc
9e6aed0760 runtime: init abi.Type.PtrBytes 2024-08-15 15:40:43 +08:00
visualfc
027d21035e runtime: signal SIGSEGV 2024-08-14 11:30:24 +08:00
visualfc
302386d22c ssa: SliceToArrayPointer 2024-08-09 09:02:57 +08:00
xushiwei
54964629fe runtime.Panic: mv error/Stringer to printany 2024-07-28 20:31:48 +08:00
xushiwei
389750d7d8 ssa: panicBlk (todo) 2024-07-28 18:51:07 +08:00
visualfc
4eaf69dfa7 internal/runtime: fix endSelect 2024-07-27 07:19:45 +08:00
visualfc
cf75e3e664 ssa: abiNamed set underlying size 2024-07-17 10:42:04 +08:00
visualfc
73b42f924d ssa: fix setDirectIface 2024-07-08 20:19:25 +08:00
xushiwei
66f2cbb91f runtime chan fix: ChanTryRecv 2024-07-07 17:23:21 +08:00
xushiwei
7b41a0ff16 fix #453 (select recv)) 2024-07-07 16:03:41 +08:00
xushiwei
453faa6a76 runtime: Select/TrySelect 2024-07-06 21:59:28 +08:00
visualfc
91ba215568 internal/runtime: check abi.KindDirectIface 2024-07-04 18:59:41 +08:00
visualfc
be32f4072e internal/runtime: check abi.TFlagRegularMemory 2024-07-04 18:50:37 +08:00
visualfc
bcb217c1da ssa: set pointer directiface 2024-07-04 18:50:37 +08:00
visualfc
490a16a8df ssa: index check take address 2024-07-04 18:50:36 +08:00
visualfc
28d8c56534 ssa: index take addr 2024-07-04 18:50:36 +08:00
visualfc
46423ed166 internal/runtime: impl type.equal 2024-07-04 18:50:36 +08:00
visualfc
4286a510b4 runtime: stubs init hashkey 2024-07-04 18:50:36 +08:00
visualfc
8d193ab39f runtime: map hasher 2024-07-04 18:50:36 +08:00
visualfc
439e377111 ssa: map delete, map eql nil 2024-07-04 18:50:36 +08:00
visualfc
28ebce6b65 ssa: map range/next 2024-07-04 18:50:36 +08:00
visualfc
2ccd1625e7 ssa: support runtime.map 2024-07-04 18:50:36 +08:00
visualfc
2153cf39b5 ssa: chan send/recv 2024-07-02 20:52:25 +08:00
xushiwei
98d4cf7585 runtime: close(chan) 2024-07-02 20:23:48 +08:00
xushiwei
437edefa0c runtime: chan 2024-07-02 16:00:43 +08:00
visualfc
dc4b933000 ssa: makeSlice both len/cap be non-nil 2024-06-27 20:01:27 +08:00
visualfc
c90703dc13 ssa: makeSlice fit int size and check 2024-06-27 19:57:44 +08:00
visualfc
7443d41444 runtime: global abi basic 2024-06-25 14:41:32 +08:00
visualfc
16352df5b1 ssa: fix abiType && abiMethoOf 2024-06-25 10:22:32 +08:00
七叶
0b2d6407dd runtime: type align (#405) 2024-06-24 17:15:45 +08:00