Commit graph

9 commits

Author SHA1 Message Date
shiyuge
8a3f5bdb11
fix: copy SourceMap in vm OpClosure branch (#392) 2022-09-24 16:48:53 +01:00
Ralph Caraveo III
d9b300cb70
For the OpMap VM instruction, since numElements is known just use the capacity hint. (#347) 2021-09-21 13:47:21 +01:00
Ozan Hacıbekiroğlu
7834251c84
spread last call argument v2 (#302) 2020-06-08 18:54:24 +02:00
daniel
3b53bc4f6d
Revert "remove callable args alloc (#259)" (#260)
This reverts commit b75bda7da7.
2020-03-15 11:19:02 -07:00
Ozan Hacıbekiroğlu
b75bda7da7
remove callable args alloc (#259) 2020-03-15 17:45:40 +01:00
Ozan HACIBEKİROĞLU
0854675469
update vm to raise wrapped runtime errors (#247)
* update vm to raise wrapped runtime errors

special errors returned from custom builtin modules can be identified easily by wrapping and using errors package's Is() and As() method.

* added test for runtime errors
2020-02-16 04:46:53 +01:00
daniel
d5b24138d3
add go module v2 (#244) 2019-12-29 13:38:51 -08:00
daniel
a9a233a750
fix internal package issue (#241)
* fix internal package issue

* ExampleSimple -> Example
2019-12-24 07:42:30 -08:00
daniel
c88a5f506e
some code clean up (#237) 2019-12-20 11:40:38 -08:00
Renamed from runtime/vm.go (Browse further)