Mercurial > hg > truffle
comparison src/share/vm/runtime/sharedRuntime.cpp @ 1564:61b2245abf36
6930772: JSR 292 needs to support SPARC C1
Summary: C1 for SPARC needs to support JSR 292.
Reviewed-by: never, jrose
author | twisti |
---|---|
date | Fri, 21 May 2010 02:59:24 -0700 |
parents | 1a5913bf5e19 |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1563:1a5913bf5e19 | 1564:61b2245abf36 |
---|---|
2053 AdapterHandlerEntry* _current; | 2053 AdapterHandlerEntry* _current; |
2054 | 2054 |
2055 void scan() { | 2055 void scan() { |
2056 while (_index < _table->table_size()) { | 2056 while (_index < _table->table_size()) { |
2057 AdapterHandlerEntry* a = _table->bucket(_index); | 2057 AdapterHandlerEntry* a = _table->bucket(_index); |
2058 _index++; | |
2058 if (a != NULL) { | 2059 if (a != NULL) { |
2059 _current = a; | 2060 _current = a; |
2060 return; | 2061 return; |
2061 } | 2062 } |
2062 _index++; | |
2063 } | 2063 } |
2064 } | 2064 } |
2065 | 2065 |
2066 public: | 2066 public: |
2067 AdapterHandlerTableIterator(AdapterHandlerTable* table): _table(table), _index(0), _current(NULL) { | 2067 AdapterHandlerTableIterator(AdapterHandlerTable* table): _table(table), _index(0), _current(NULL) { |