src/share/vm/interpreter/interpreter.hpp

changeset 4767
a5de0cc2f91c
parent 4153
b9a9ed0f8eeb
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/interpreter/interpreter.hpp	Sat Mar 16 21:44:52 2013 -0700
     1.2 +++ b/src/share/vm/interpreter/interpreter.hpp	Mon Mar 18 13:19:06 2013 +0100
     1.3 @@ -48,12 +48,12 @@
     1.4    int         _size;                             // the size in bytes
     1.5    const char* _description;                      // a description of the codelet, for debugging & printing
     1.6    Bytecodes::Code _bytecode;                     // associated bytecode if any
     1.7 -  DEBUG_ONLY(CodeComments _comments;)            // Comments for annotating assembler output.
     1.8 +  DEBUG_ONLY(CodeStrings _strings;)              // Comments for annotating assembler output.
     1.9  
    1.10   public:
    1.11    // Initialization/finalization
    1.12    void    initialize(int size,
    1.13 -                     CodeComments& comments)     { _size = size; DEBUG_ONLY(_comments.assign(comments);) }
    1.14 +                     CodeStrings& strings)       { _size = size; DEBUG_ONLY(_strings.assign(strings);) }
    1.15    void    finalize()                             { ShouldNotCallThis(); }
    1.16  
    1.17    // General info/converters
    1.18 @@ -131,7 +131,7 @@
    1.19  
    1.20  
    1.21      // commit Codelet
    1.22 -    AbstractInterpreter::code()->commit((*_masm)->code()->pure_insts_size(), (*_masm)->code()->comments());
    1.23 +    AbstractInterpreter::code()->commit((*_masm)->code()->pure_insts_size(), (*_masm)->code()->strings());
    1.24      // make sure nobody can use _masm outside a CodeletMark lifespan
    1.25      *_masm = NULL;
    1.26    }

mercurial