lib/nydp/builtin/vm_info.rb in nydp-0.5.1 vs lib/nydp/builtin/vm_info.rb in nydp-0.6.0
- old
+ new
@@ -1,15 +1,7 @@
class Nydp::Builtin::VmInfo
include Nydp::Builtin::Base, Singleton
- VMINFO_NS = { }
- CONTEXTS = Nydp::Symbol.mk :contexts, VMINFO_NS
- INSTRUCTIONS = Nydp::Symbol.mk :instructions, VMINFO_NS
- ARGS = Nydp::Symbol.mk :args, VMINFO_NS
-
- def builtin_invoke vm, args
- context_count = Nydp::Pair.new CONTEXTS, vm.contexts.size
- instruction_count = Nydp::Pair.new INSTRUCTIONS, vm.instructions.size
- arg_count = Nydp::Pair.new ARGS, vm.args.size
- vm.push_arg Nydp::Pair.from_list [context_count, instruction_count, arg_count]
+ def builtin_call *args
+ nil
end
end