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