OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CRANKSHAFT_HYDROGEN_BCE_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_BCE_H_ |
6 #define V8_CRANKSHAFT_HYDROGEN_BCE_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_BCE_H_ |
7 | 7 |
8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 | 13 |
14 class BoundsCheckBbData; | 14 class BoundsCheckBbData; |
15 class BoundsCheckKey; | 15 class BoundsCheckKey; |
16 class BoundsCheckTable : private ZoneHashMap { | 16 class BoundsCheckTable : private CustomMatcherZoneHashMap { |
17 public: | 17 public: |
18 explicit BoundsCheckTable(Zone* zone); | 18 explicit BoundsCheckTable(Zone* zone); |
19 | 19 |
20 INLINE(BoundsCheckBbData** LookupOrInsert(BoundsCheckKey* key, Zone* zone)); | 20 INLINE(BoundsCheckBbData** LookupOrInsert(BoundsCheckKey* key, Zone* zone)); |
21 INLINE(void Insert(BoundsCheckKey* key, BoundsCheckBbData* data, Zone* zone)); | 21 INLINE(void Insert(BoundsCheckKey* key, BoundsCheckBbData* data, Zone* zone)); |
22 INLINE(void Delete(BoundsCheckKey* key)); | 22 INLINE(void Delete(BoundsCheckKey* key)); |
23 | 23 |
24 private: | 24 private: |
25 DISALLOW_COPY_AND_ASSIGN(BoundsCheckTable); | 25 DISALLOW_COPY_AND_ASSIGN(BoundsCheckTable); |
26 }; | 26 }; |
(...skipping 16 matching lines...) Loading... |
43 BoundsCheckTable table_; | 43 BoundsCheckTable table_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(HBoundsCheckEliminationPhase); | 45 DISALLOW_COPY_AND_ASSIGN(HBoundsCheckEliminationPhase); |
46 }; | 46 }; |
47 | 47 |
48 | 48 |
49 } // namespace internal | 49 } // namespace internal |
50 } // namespace v8 | 50 } // namespace v8 |
51 | 51 |
52 #endif // V8_CRANKSHAFT_HYDROGEN_BCE_H_ | 52 #endif // V8_CRANKSHAFT_HYDROGEN_BCE_H_ |
OLD | NEW |