Mercurial > hg > graal-compiler
comparison src/share/vm/adlc/dict2.cpp @ 6850:d336b3173277
8000592: Improve adlc usability
Summary: several changes to adlc to improve its usability
Reviewed-by: kvn
Contributed-by: goetz.lindenmaier@sap.com
author | kvn |
---|---|
date | Tue, 09 Oct 2012 16:09:31 -0700 |
parents | cccd1b172b85 |
children | f15fe46d8c00 |
comparison
equal
deleted
inserted
replaced
6849:f6badecb7ea7 | 6850:d336b3173277 |
---|---|
31 | 31 |
32 //------------------------------data----------------------------------------- | 32 //------------------------------data----------------------------------------- |
33 // String hash tables | 33 // String hash tables |
34 #define MAXID 20 | 34 #define MAXID 20 |
35 static char initflag = 0; // True after 1st initialization | 35 static char initflag = 0; // True after 1st initialization |
36 static char shft[MAXID] = {1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6}; | 36 static char shft[MAXID + 1] = {1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7}; |
37 static short xsum[MAXID]; | 37 static short xsum[MAXID]; |
38 | 38 |
39 //------------------------------bucket--------------------------------------- | 39 //------------------------------bucket--------------------------------------- |
40 class bucket { | 40 class bucket { |
41 public: | 41 public: |