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 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2505 | 2505 |
2506 bool IsFound() const { return lookup_.IsFound(); } | 2506 bool IsFound() const { return lookup_.IsFound(); } |
2507 bool IsProperty() const { return lookup_.IsProperty(); } | 2507 bool IsProperty() const { return lookup_.IsProperty(); } |
2508 bool IsField() const { return lookup_.IsField(); } | 2508 bool IsField() const { return lookup_.IsField(); } |
2509 bool IsConstant() const { return lookup_.IsConstant(); } | 2509 bool IsConstant() const { return lookup_.IsConstant(); } |
2510 bool IsAccessor() const { return lookup_.IsPropertyCallbacks(); } | 2510 bool IsAccessor() const { return lookup_.IsPropertyCallbacks(); } |
2511 bool IsTransition() const { return lookup_.IsTransition(); } | 2511 bool IsTransition() const { return lookup_.IsTransition(); } |
2512 | 2512 |
2513 bool IsConfigurable() const { return lookup_.IsConfigurable(); } | 2513 bool IsConfigurable() const { return lookup_.IsConfigurable(); } |
2514 bool IsReadOnly() const { return lookup_.IsReadOnly(); } | 2514 bool IsReadOnly() const { return lookup_.IsReadOnly(); } |
2515 bool IsCacheable() const { return lookup_.IsCacheable(); } | |
2516 | 2515 |
2517 private: | 2516 private: |
2518 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const { | 2517 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const { |
2519 return handle(lookup_.GetValueFromMap(*map), isolate()); | 2518 return handle(lookup_.GetValueFromMap(*map), isolate()); |
2520 } | 2519 } |
2521 Handle<Object> GetConstantFromMap(Handle<Map> map) const { | 2520 Handle<Object> GetConstantFromMap(Handle<Map> map) const { |
2522 return handle(lookup_.GetConstantFromMap(*map), isolate()); | 2521 return handle(lookup_.GetConstantFromMap(*map), isolate()); |
2523 } | 2522 } |
2524 Handle<HeapType> GetFieldTypeFromMap(Handle<Map> map) const { | 2523 Handle<HeapType> GetFieldTypeFromMap(Handle<Map> map) const { |
2525 return handle(lookup_.GetFieldTypeFromMap(*map), isolate()); | 2524 return handle(lookup_.GetFieldTypeFromMap(*map), isolate()); |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2929 } | 2928 } |
2930 | 2929 |
2931 private: | 2930 private: |
2932 HGraphBuilder* builder_; | 2931 HGraphBuilder* builder_; |
2933 }; | 2932 }; |
2934 | 2933 |
2935 | 2934 |
2936 } } // namespace v8::internal | 2935 } } // namespace v8::internal |
2937 | 2936 |
2938 #endif // V8_HYDROGEN_H_ | 2937 #endif // V8_HYDROGEN_H_ |
OLD | NEW |