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 2492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2503 HType field_type() const { return field_type_; } | 2503 HType field_type() const { return field_type_; } |
2504 HObjectAccess access() { return access_; } | 2504 HObjectAccess access() { return access_; } |
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_.IsDontDelete(); } | 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(); } | 2515 bool IsCacheable() const { return lookup_.IsCacheable(); } |
2516 | 2516 |
2517 private: | 2517 private: |
2518 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const { | 2518 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const { |
2519 return handle(lookup_.GetValueFromMap(*map), isolate()); | 2519 return handle(lookup_.GetValueFromMap(*map), isolate()); |
2520 } | 2520 } |
2521 Handle<Object> GetConstantFromMap(Handle<Map> map) const { | 2521 Handle<Object> GetConstantFromMap(Handle<Map> map) const { |
2522 return handle(lookup_.GetConstantFromMap(*map), isolate()); | 2522 return handle(lookup_.GetConstantFromMap(*map), isolate()); |
2523 } | 2523 } |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2929 } | 2929 } |
2930 | 2930 |
2931 private: | 2931 private: |
2932 HGraphBuilder* builder_; | 2932 HGraphBuilder* builder_; |
2933 }; | 2933 }; |
2934 | 2934 |
2935 | 2935 |
2936 } } // namespace v8::internal | 2936 } } // namespace v8::internal |
2937 | 2937 |
2938 #endif // V8_HYDROGEN_H_ | 2938 #endif // V8_HYDROGEN_H_ |
OLD | NEW |