Skip to content
Permalink
Browse files

dead code

  • Loading branch information
alex committed Jun 19, 2013
1 parent e294c75 commit e80a8b6cee0de0aa31bbaffb1bb9cdecc66d65f2
Showing with 0 additions and 7 deletions.
  1. +0 −1 topaz/consts.py
  2. +0 −6 topaz/interpreter.py
@@ -52,7 +52,6 @@
("BUILD_MODULE", 0, -1),
("BUILD_REGEXP", 0, -1),

("COPY_STRING", 0, 0),
("COERCE_ARRAY", 1, 0),
("COERCE_BLOCK", 0, 0),
("COERCE_STRING", 0, 0),
@@ -11,7 +11,6 @@
from topaz.objects.moduleobject import W_ModuleObject
from topaz.objects.objectobject import W_Root
from topaz.objects.procobject import W_ProcObject
from topaz.objects.stringobject import W_StringObject
from topaz.scope import StaticScope
from topaz.utils.regexp import RegexpError

@@ -407,11 +406,6 @@ def BUILD_REGEXP(self, space, bytecode, frame, pc):
raise space.error(space.w_RegexpError, str(e))
frame.push(w_regexp)

def COPY_STRING(self, space, bytecode, frame, pc):
w_s = frame.pop()
assert isinstance(w_s, W_StringObject)
frame.push(w_s.copy(space))

def COERCE_ARRAY(self, space, bytecode, frame, pc, nil_is_empty):
w_obj = frame.pop()
if w_obj is space.w_nil:

0 comments on commit e80a8b6

Please sign in to comment.
You can’t perform that action at this time.