neoneo-go/pkg/compiler
Evgenii Stratonikov f2107bfbc4 compiler: copy structs when passing as arguments
In Go structs must be copied when used as arguments.
To do so we must clone struct on VM level.
This is done by appending this struct to an intermediate array.
2020-08-05 13:14:38 +03:00
..
testdata compiler: use fully-qualified names for tracking functions 2020-07-31 12:07:06 +03:00
analysis.go compiler: use fully-qualified names for tracking functions 2020-07-31 12:07:06 +03:00
assign_test.go vm: move MaxArraySize and MaxItemSize to stackitem package 2020-06-16 11:32:16 +03:00
binary_expr_test.go vm: make PUSH0 emit Integer 2020-05-22 14:16:32 +03:00
byte_conversion_test.go compiler: allow to convert string constants to []byte 2020-01-27 15:29:52 +03:00
codegen.go compiler: copy structs when passing as arguments 2020-08-05 13:14:38 +03:00
codegen_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
compiler.go compiler: use fully-qualified names for tracking functions 2020-07-31 12:07:06 +03:00
compiler_test.go cli, compiler: switch from .avm to .nef 2020-06-29 09:15:29 +03:00
constant_test.go compiler: emit byte constants properly 2020-05-20 17:45:56 +03:00
convert_test.go compiler: convert to ByteArray for string variables 2020-06-24 18:59:36 +03:00
debug.go compiler: use fully-qualified names for tracking functions 2020-07-31 12:07:06 +03:00
debug_test.go compiler: make DebugInfo.convertToManifest public 2020-07-27 11:08:01 +03:00
for_test.go vm: move StackItem to a separate package 2020-06-08 13:27:08 +03:00
func_scope.go compiler: use fully-qualified names for tracking functions 2020-07-31 12:07:06 +03:00
function_call_test.go compiler: support ... variadic calls 2020-06-27 10:42:30 +03:00
global_test.go compiler: use fully-qualified names for tracking functions 2020-07-31 12:07:06 +03:00
if_test.go vm: make PUSH0 emit Integer 2020-05-22 14:16:32 +03:00
import_test.go vm: make PUSH0 emit Integer 2020-05-22 14:16:32 +03:00
interop_test.go *: support _initialize method in contracts 2020-07-27 13:00:35 +03:00
lambda_test.go compiler: add tests for function literal 2020-05-12 16:23:09 +03:00
limit_test.go compiler: emit integers correctly 2020-01-28 16:39:19 +03:00
map_test.go compiler: allow usage of string literals in index expressions 2020-01-23 17:28:35 +03:00
nilcheck_test.go compiler: support nil checks 2020-06-24 10:43:58 +03:00
numeric_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
panic_test.go vm: convert items to UTF-8 strings 2020-07-30 12:37:31 +03:00
pointer_test.go compiler: copy structs when passing as arguments 2020-08-05 13:14:38 +03:00
return_test.go compiler: support named returns 2020-05-06 18:22:52 +03:00
slice_test.go compiler: allow to append multiple elements 2020-07-09 13:59:43 +03:00
struct_test.go compiler: fix initialization of struct fields, fix #1164 2020-07-09 12:27:21 +03:00
switch_test.go compiler: implement fallthrough in switch 2020-03-10 12:34:07 +03:00
syscall.go *: support invoking methods by offset 2020-07-27 13:00:35 +03:00
syscall_test.go *: make Notify interop accept event name 2020-07-20 13:33:32 +03:00
type_test.go compiler: support non-struct methods 2020-05-19 16:40:26 +03:00
types.go compiler: emit CONVERT opcode for type assertions 2020-06-24 18:00:26 +03:00
util_test.go *: move syscall handling out of VM 2020-07-29 13:41:08 +03:00
vars.go compiler: manage variables in a separate varScope struct 2020-06-30 10:31:51 +03:00
verify_test.go core: rename Neo.Crypto.Verify to Neo.Crypto.VerifyWithECDsaSecp256r1 2020-07-14 16:19:12 +03:00
vm_test.go Merge pull request #1241 from nspcc-dev/fix/string 2020-08-03 18:10:27 +03:00