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 2627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2638 } | 2638 } |
2639 bool IsTransitionToData() const { | 2639 bool IsTransitionToData() const { |
2640 return IsTransition() && details_.type() == DATA; | 2640 return IsTransition() && details_.type() == DATA; |
2641 } | 2641 } |
2642 | 2642 |
2643 Zone* zone() { return builder_->zone(); } | 2643 Zone* zone() { return builder_->zone(); } |
2644 CompilationInfo* top_info() { return builder_->top_info(); } | 2644 CompilationInfo* top_info() { return builder_->top_info(); } |
2645 CompilationInfo* current_info() { return builder_->current_info(); } | 2645 CompilationInfo* current_info() { return builder_->current_info(); } |
2646 | 2646 |
2647 bool LoadResult(Handle<Map> map); | 2647 bool LoadResult(Handle<Map> map); |
2648 void LoadFieldMaps(Handle<Map> map); | 2648 bool LoadFieldMaps(Handle<Map> map); |
2649 bool LookupDescriptor(); | 2649 bool LookupDescriptor(); |
2650 bool LookupInPrototypes(); | 2650 bool LookupInPrototypes(); |
2651 bool IsIntegerIndexedExotic(); | 2651 bool IsIntegerIndexedExotic(); |
2652 bool IsCompatible(PropertyAccessInfo* other); | 2652 bool IsCompatible(PropertyAccessInfo* other); |
2653 | 2653 |
2654 void GeneralizeRepresentation(Representation r) { | 2654 void GeneralizeRepresentation(Representation r) { |
2655 access_ = access_.WithRepresentation( | 2655 access_ = access_.WithRepresentation( |
2656 access_.representation().generalize(r)); | 2656 access_.representation().generalize(r)); |
2657 } | 2657 } |
2658 | 2658 |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3032 } | 3032 } |
3033 | 3033 |
3034 private: | 3034 private: |
3035 HGraphBuilder* builder_; | 3035 HGraphBuilder* builder_; |
3036 }; | 3036 }; |
3037 | 3037 |
3038 | 3038 |
3039 } } // namespace v8::internal | 3039 } } // namespace v8::internal |
3040 | 3040 |
3041 #endif // V8_HYDROGEN_H_ | 3041 #endif // V8_HYDROGEN_H_ |
OLD | NEW |