From fb42cb16f07a03e16fceccd966879f086088f473 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 28 Aug 2014 08:43:38 +0300 Subject: [PATCH] move get implementation to virtual as it should not result in register action --- lib/register/register_machine.rb | 1 - lib/{register => virtual}/get_implementation.rb | 0 lib/virtual/machine.rb | 1 + 3 files changed, 1 insertion(+), 1 deletion(-) rename lib/{register => virtual}/get_implementation.rb (100%) diff --git a/lib/register/register_machine.rb b/lib/register/register_machine.rb index 119b216c..7047ae62 100644 --- a/lib/register/register_machine.rb +++ b/lib/register/register_machine.rb @@ -146,7 +146,6 @@ module Register end require_relative "instruction" require_relative "register_reference" -require_relative "get_implementation" require_relative "set_implementation" require_relative "call_implementation" require_relative "enter_implementation" diff --git a/lib/register/get_implementation.rb b/lib/virtual/get_implementation.rb similarity index 100% rename from lib/register/get_implementation.rb rename to lib/virtual/get_implementation.rb diff --git a/lib/virtual/machine.rb b/lib/virtual/machine.rb index cd9bb730..410b02e3 100644 --- a/lib/virtual/machine.rb +++ b/lib/virtual/machine.rb @@ -85,3 +85,4 @@ require_relative "object" require_relative "constants" require_relative "boot_space" require_relative "send_implementation" +require_relative "get_implementation"