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