Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/hotspot/share/interpreter/bytecode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class Bytecode_checkcast: public Bytecode {
void verify() const { assert(Bytecodes::java_code(code()) == Bytecodes::_checkcast, "check checkcast"); }

// Returns index
int index() const { return get_index_u2(Bytecodes::_checkcast); };
u2 index() const { return get_index_u2(Bytecodes::_checkcast); };
};

// Abstraction for instanceof
Expand All @@ -284,7 +284,7 @@ class Bytecode_instanceof: public Bytecode {
void verify() const { assert(code() == Bytecodes::_instanceof, "check instanceof"); }

// Returns index
long index() const { return get_index_u2(Bytecodes::_instanceof); };
u2 index() const { return get_index_u2(Bytecodes::_instanceof); };
};

class Bytecode_new: public Bytecode {
Expand All @@ -293,7 +293,7 @@ class Bytecode_new: public Bytecode {
void verify() const { assert(java_code() == Bytecodes::_new, "check new"); }

// Returns index
long index() const { return get_index_u2(Bytecodes::_new); };
u2 index() const { return get_index_u2(Bytecodes::_new); };
};

class Bytecode_multianewarray: public Bytecode {
Expand All @@ -302,7 +302,7 @@ class Bytecode_multianewarray: public Bytecode {
void verify() const { assert(java_code() == Bytecodes::_multianewarray, "check new"); }

// Returns index
long index() const { return get_index_u2(Bytecodes::_multianewarray); };
u2 index() const { return get_index_u2(Bytecodes::_multianewarray); };
};

class Bytecode_anewarray: public Bytecode {
Expand All @@ -311,7 +311,7 @@ class Bytecode_anewarray: public Bytecode {
void verify() const { assert(java_code() == Bytecodes::_anewarray, "check anewarray"); }

// Returns index
long index() const { return get_index_u2(Bytecodes::_anewarray); };
u2 index() const { return get_index_u2(Bytecodes::_anewarray); };
};

// Abstraction for ldc, ldc_w and ldc2_w
Expand Down