< prev index next >
src/share/vm/c1/c1_ValueStack.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 171,182 ****
case longTag : lpush(t); return;
case floatTag : fpush(t); return;
case doubleTag : dpush(t); return;
case objectTag : apush(t); return;
case addressTag: rpush(t); return;
}
- ShouldNotReachHere();
}
Value ipop() { return check(intTag , _stack.pop()); }
Value fpop() { return check(floatTag , _stack.pop()); }
Value apop() { return check(objectTag , _stack.pop()); }
--- 171,182 ----
case longTag : lpush(t); return;
case floatTag : fpush(t); return;
case doubleTag : dpush(t); return;
case objectTag : apush(t); return;
case addressTag: rpush(t); return;
+ default : ShouldNotReachHere(); return;
}
}
Value ipop() { return check(intTag , _stack.pop()); }
Value fpop() { return check(floatTag , _stack.pop()); }
Value apop() { return check(objectTag , _stack.pop()); }
*** 190,202 ****
case longTag : return lpop();
case floatTag : return fpop();
case doubleTag : return dpop();
case objectTag : return apop();
case addressTag: return rpop();
}
- ShouldNotReachHere();
- return NULL;
}
Values* pop_arguments(int argument_size);
// locks access
--- 190,201 ----
case longTag : return lpop();
case floatTag : return fpop();
case doubleTag : return dpop();
case objectTag : return apop();
case addressTag: return rpop();
+ default : ShouldNotReachHere(); return NULL;
}
}
Values* pop_arguments(int argument_size);
// locks access
< prev index next >