src/cpu/zero/vm/interpreter_zero.hpp

changeset 1861
2338d41fbd81
parent 1445
354d3184f6b2
child 1864
68d6683eaef7
     1.1 --- a/src/cpu/zero/vm/interpreter_zero.hpp	Fri Apr 30 04:27:25 2010 -0700
     1.2 +++ b/src/cpu/zero/vm/interpreter_zero.hpp	Fri Apr 30 08:37:24 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2003-2007 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2003-2010 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * Copyright 2007, 2008 Red Hat, Inc.
     1.8   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.9   *
    1.10 @@ -38,24 +38,12 @@
    1.11    static int expr_index_at(int i) {
    1.12      return stackElementWords() * i;
    1.13    }
    1.14 -  static int expr_tag_index_at(int i) {
    1.15 -    assert(TaggedStackInterpreter, "should not call this");
    1.16 -    Unimplemented();
    1.17 -  }
    1.18  
    1.19    static int expr_offset_in_bytes(int i) {
    1.20      return stackElementSize() * i;
    1.21    }
    1.22 -  static int expr_tag_offset_in_bytes(int i) {
    1.23 -    assert(TaggedStackInterpreter, "should not call this");
    1.24 -    Unimplemented();
    1.25 -  }
    1.26  
    1.27    static int local_index_at(int i) {
    1.28      assert(i <= 0, "local direction already negated");
    1.29 -    return stackElementWords() * i + (value_offset_in_bytes() / wordSize);
    1.30 +    return stackElementWords() * i;
    1.31    }
    1.32 -  static int local_tag_index_at(int i) {
    1.33 -    assert(TaggedStackInterpreter, "should not call this");
    1.34 -    Unimplemented();
    1.35 -  }

mercurial