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 2487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2498 HValue* object, HIfContinuation* continuation); | 2498 HValue* object, HIfContinuation* continuation); |
2499 | 2499 |
2500 Handle<JSFunction> array_function() { | 2500 Handle<JSFunction> array_function() { |
2501 return handle(isolate()->native_context()->array_function()); | 2501 return handle(isolate()->native_context()->array_function()); |
2502 } | 2502 } |
2503 | 2503 |
2504 bool IsCallArrayInlineable(int argument_count, Handle<AllocationSite> site); | 2504 bool IsCallArrayInlineable(int argument_count, Handle<AllocationSite> site); |
2505 void BuildInlinedCallArray(Expression* expression, int argument_count, | 2505 void BuildInlinedCallArray(Expression* expression, int argument_count, |
2506 Handle<AllocationSite> site); | 2506 Handle<AllocationSite> site); |
2507 | 2507 |
| 2508 void BuildInitializeInobjectProperties(HValue* receiver, |
| 2509 Handle<Map> initial_map); |
| 2510 |
2508 class PropertyAccessInfo { | 2511 class PropertyAccessInfo { |
2509 public: | 2512 public: |
2510 PropertyAccessInfo(HOptimizedGraphBuilder* builder, | 2513 PropertyAccessInfo(HOptimizedGraphBuilder* builder, |
2511 PropertyAccessType access_type, Handle<Map> map, | 2514 PropertyAccessType access_type, Handle<Map> map, |
2512 Handle<String> name) | 2515 Handle<String> name) |
2513 : builder_(builder), | 2516 : builder_(builder), |
2514 access_type_(access_type), | 2517 access_type_(access_type), |
2515 map_(map), | 2518 map_(map), |
2516 name_(name), | 2519 name_(name), |
2517 field_type_(HType::Tagged()), | 2520 field_type_(HType::Tagged()), |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3044 } | 3047 } |
3045 | 3048 |
3046 private: | 3049 private: |
3047 HGraphBuilder* builder_; | 3050 HGraphBuilder* builder_; |
3048 }; | 3051 }; |
3049 | 3052 |
3050 | 3053 |
3051 } } // namespace v8::internal | 3054 } } // namespace v8::internal |
3052 | 3055 |
3053 #endif // V8_HYDROGEN_H_ | 3056 #endif // V8_HYDROGEN_H_ |
OLD | NEW |