Add missing basic instructions (#45)

* Add missing basic instructions

* MAP_SIZE
* MAP_TO_LIST
* STR_LENGTH

* Change name of erlang function to not shadow builtin guard
This commit is contained in:
Tobias Lindahl
2019-05-28 11:15:04 +02:00
committed by GitHub
parent e98298cce4
commit 89f5ebc84b
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -96,6 +96,10 @@ FUNCTION foo () : {tuple, []}
MAP_FROM_LIST () a
MAP_TO_LIST a { true => 4 }
MAP_SIZE a { true => 42 }
NIL arg91
IS_NIL a var6
@@ -118,6 +122,8 @@ FUNCTION foo () : {tuple, []}
STR_REVERSE a @ak_nv5B93FPzRHrGNmMdTDfGdd5xGZvep3MVSpJqzcQmMp59bBCv
STR_LENGTH a "foo"
INT_TO_ADDR arg127 var207
VARIANT a a 0x1f7b72200 a