|
|
5b7429 |
diff --git a/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp b/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
|
|
|
5b7429 |
index 31955ff7..6dcd90ac 100644
|
|
|
5b7429 |
--- openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
|
|
|
5b7429 |
+++ openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
|
|
|
5b7429 |
@@ -4564,7 +4564,7 @@ char *ADLParser::get_paren_expr(const char *description, bool include_location)
|
|
|
5b7429 |
// string(still inside the file buffer). Returns a pointer to the string or
|
|
|
5b7429 |
// NULL if some other token is found instead.
|
|
|
5b7429 |
char *ADLParser::get_ident_common(bool do_preproc) {
|
|
|
5b7429 |
- register char c;
|
|
|
5b7429 |
+ char c;
|
|
|
5b7429 |
char *start; // Pointer to start of token
|
|
|
5b7429 |
char *end; // Pointer to end of token
|
|
|
5b7429 |
|
|
|
5b7429 |
@@ -4762,7 +4762,7 @@ char *ADLParser::get_unique_ident(FormDict& dict, const char* nameDescription){
|
|
|
5b7429 |
// invokes a parse_err if the next token is not an integer.
|
|
|
5b7429 |
// This routine does not leave the integer null-terminated.
|
|
|
5b7429 |
int ADLParser::get_int(void) {
|
|
|
5b7429 |
- register char c;
|
|
|
5b7429 |
+ char c;
|
|
|
5b7429 |
char *start; // Pointer to start of token
|
|
|
5b7429 |
char *end; // Pointer to end of token
|
|
|
5b7429 |
int result; // Storage for integer result
|
|
|
5b7429 |
diff --git a/openjdk/hotspot/src/share/vm/adlc/arena.cpp b/openjdk/hotspot/src/share/vm/adlc/arena.cpp
|
|
|
5b7429 |
index d7e4fc6e..406187ae 100644
|
|
|
5b7429 |
--- openjdk/hotspot/src/share/vm/adlc/arena.cpp
|
|
|
5b7429 |
+++ openjdk/hotspot/src/share/vm/adlc/arena.cpp
|
|
|
5b7429 |
@@ -79,7 +79,7 @@ Arena::Arena( Arena *a )
|
|
|
5b7429 |
// Total of all Chunks in arena
|
|
|
5b7429 |
size_t Arena::used() const {
|
|
|
5b7429 |
size_t sum = _chunk->_len - (_max-_hwm); // Size leftover in this Chunk
|
|
|
5b7429 |
- register Chunk *k = _first;
|
|
|
5b7429 |
+ Chunk *k = _first;
|
|
|
5b7429 |
while( k != _chunk) { // Whilst have Chunks in a row
|
|
|
5b7429 |
sum += k->_len; // Total size of this Chunk
|
|
|
5b7429 |
k = k->_next; // Bump along to next Chunk
|
|
|
5b7429 |
@@ -93,7 +93,7 @@ void* Arena::grow( size_t x ) {
|
|
|
5b7429 |
// Get minimal required size. Either real big, or even bigger for giant objs
|
|
|
5b7429 |
size_t len = max(x, Chunk::size);
|
|
|
5b7429 |
|
|
|
5b7429 |
- register Chunk *k = _chunk; // Get filled-up chunk address
|
|
|
5b7429 |
+ Chunk *k = _chunk; // Get filled-up chunk address
|
|
|
5b7429 |
_chunk = new (len) Chunk(len);
|
|
|
5b7429 |
|
|
|
5b7429 |
if( k ) k->_next = _chunk; // Append new chunk to end of linked list
|
|
|
5b7429 |
diff --git a/openjdk/hotspot/src/share/vm/adlc/dict2.cpp b/openjdk/hotspot/src/share/vm/adlc/dict2.cpp
|
|
|
5b7429 |
index f341a2b6..2dc60b25 100644
|
|
|
5b7429 |
--- openjdk/hotspot/src/share/vm/adlc/dict2.cpp
|
|
|
5b7429 |
+++ openjdk/hotspot/src/share/vm/adlc/dict2.cpp
|
|
|
5b7429 |
@@ -283,9 +283,9 @@ void Dict::print(PrintKeyOrValue print_key, PrintKeyOrValue print_value) {
|
|
|
5b7429 |
// limited to MAXID characters in length. Experimental evidence on 150K of
|
|
|
5b7429 |
// C text shows excellent spreading of values for any size hash table.
|
|
|
5b7429 |
int hashstr(const void *t) {
|
|
|
5b7429 |
- register char c, k = 0;
|
|
|
5b7429 |
- register int sum = 0;
|
|
|
5b7429 |
- register const char *s = (const char *)t;
|
|
|
5b7429 |
+ char c, k = 0;
|
|
|
5b7429 |
+ int sum = 0;
|
|
|
5b7429 |
+ const char *s = (const char *)t;
|
|
|
5b7429 |
|
|
|
5b7429 |
while (((c = s[k]) != '\0') && (k < MAXID-1)) { // Get characters till nul
|
|
|
5b7429 |
c = (char) ((c << 1) + 1); // Characters are always odd!
|
|
|
5b7429 |
diff --git a/openjdk/hotspot/src/share/vm/adlc/main.cpp b/openjdk/hotspot/src/share/vm/adlc/main.cpp
|
|
|
5b7429 |
index 52044f12..40bcda74 100644
|
|
|
5b7429 |
--- openjdk/hotspot/src/share/vm/adlc/main.cpp
|
|
|
5b7429 |
+++ openjdk/hotspot/src/share/vm/adlc/main.cpp
|
|
|
5b7429 |
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
|
|
|
5b7429 |
|
|
|
5b7429 |
// Read command line arguments and file names
|
|
|
5b7429 |
for( int i = 1; i < argc; i++ ) { // For all arguments
|
|
|
5b7429 |
- register char *s = argv[i]; // Get option/filename
|
|
|
5b7429 |
+ char *s = argv[i]; // Get option/filename
|
|
|
5b7429 |
|
|
|
5b7429 |
if( *s++ == '-' ) { // It's a flag? (not a filename)
|
|
|
5b7429 |
if( !*s ) { // Stand-alone `-' means stdin
|