OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_HYDROGEN_H_ | 5 #ifndef V8_HYDROGEN_H_ |
6 #define V8_HYDROGEN_H_ | 6 #define V8_HYDROGEN_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 2565 matching lines...) Loading... |
2576 } | 2576 } |
2577 | 2577 |
2578 Zone* zone() { return builder_->zone(); } | 2578 Zone* zone() { return builder_->zone(); } |
2579 CompilationInfo* top_info() { return builder_->top_info(); } | 2579 CompilationInfo* top_info() { return builder_->top_info(); } |
2580 CompilationInfo* current_info() { return builder_->current_info(); } | 2580 CompilationInfo* current_info() { return builder_->current_info(); } |
2581 | 2581 |
2582 bool LoadResult(Handle<Map> map); | 2582 bool LoadResult(Handle<Map> map); |
2583 void LoadFieldMaps(Handle<Map> map); | 2583 void LoadFieldMaps(Handle<Map> map); |
2584 bool LookupDescriptor(); | 2584 bool LookupDescriptor(); |
2585 bool LookupInPrototypes(); | 2585 bool LookupInPrototypes(); |
| 2586 bool IsIntegerIndexedExotic(); |
2586 bool IsCompatible(PropertyAccessInfo* other); | 2587 bool IsCompatible(PropertyAccessInfo* other); |
2587 | 2588 |
2588 void GeneralizeRepresentation(Representation r) { | 2589 void GeneralizeRepresentation(Representation r) { |
2589 access_ = access_.WithRepresentation( | 2590 access_ = access_.WithRepresentation( |
2590 access_.representation().generalize(r)); | 2591 access_.representation().generalize(r)); |
2591 } | 2592 } |
2592 | 2593 |
2593 HOptimizedGraphBuilder* builder_; | 2594 HOptimizedGraphBuilder* builder_; |
2594 PropertyAccessType access_type_; | 2595 PropertyAccessType access_type_; |
2595 Handle<Map> map_; | 2596 Handle<Map> map_; |
(...skipping 370 matching lines...) Loading... |
2966 } | 2967 } |
2967 | 2968 |
2968 private: | 2969 private: |
2969 HGraphBuilder* builder_; | 2970 HGraphBuilder* builder_; |
2970 }; | 2971 }; |
2971 | 2972 |
2972 | 2973 |
2973 } } // namespace v8::internal | 2974 } } // namespace v8::internal |
2974 | 2975 |
2975 #endif // V8_HYDROGEN_H_ | 2976 #endif // V8_HYDROGEN_H_ |
OLD | NEW |