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 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2410 | 2410 |
2411 HValue* BuildAllocateExternalElements( | 2411 HValue* BuildAllocateExternalElements( |
2412 ExternalArrayType array_type, | 2412 ExternalArrayType array_type, |
2413 bool is_zero_byte_offset, | 2413 bool is_zero_byte_offset, |
2414 HValue* buffer, HValue* byte_offset, HValue* length); | 2414 HValue* buffer, HValue* byte_offset, HValue* length); |
2415 HValue* BuildAllocateFixedTypedArray( | 2415 HValue* BuildAllocateFixedTypedArray( |
2416 ExternalArrayType array_type, size_t element_size, | 2416 ExternalArrayType array_type, size_t element_size, |
2417 ElementsKind fixed_elements_kind, | 2417 ElementsKind fixed_elements_kind, |
2418 HValue* byte_length, HValue* length); | 2418 HValue* byte_length, HValue* length); |
2419 | 2419 |
| 2420 template <typename CollectionType> |
| 2421 HValue* BuildOrderedHashTableFindEntry(HValue* table, HValue* key, |
| 2422 HValue* hash); |
| 2423 |
| 2424 template <typename CollectionType> |
| 2425 void BuildJSCollectionHas(CallRuntime* call, |
| 2426 const Runtime::Function* c_function); |
| 2427 |
| 2428 HValue* BuildStringHashLoadIfIsStringAndHashComputed( |
| 2429 HValue* object, HIfContinuation* continuation); |
| 2430 |
2420 Handle<JSFunction> array_function() { | 2431 Handle<JSFunction> array_function() { |
2421 return handle(isolate()->native_context()->array_function()); | 2432 return handle(isolate()->native_context()->array_function()); |
2422 } | 2433 } |
2423 | 2434 |
2424 bool IsCallArrayInlineable(int argument_count, Handle<AllocationSite> site); | 2435 bool IsCallArrayInlineable(int argument_count, Handle<AllocationSite> site); |
2425 void BuildInlinedCallArray(Expression* expression, int argument_count, | 2436 void BuildInlinedCallArray(Expression* expression, int argument_count, |
2426 Handle<AllocationSite> site); | 2437 Handle<AllocationSite> site); |
2427 | 2438 |
2428 class PropertyAccessInfo { | 2439 class PropertyAccessInfo { |
2429 public: | 2440 public: |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2915 } | 2926 } |
2916 | 2927 |
2917 private: | 2928 private: |
2918 HGraphBuilder* builder_; | 2929 HGraphBuilder* builder_; |
2919 }; | 2930 }; |
2920 | 2931 |
2921 | 2932 |
2922 } } // namespace v8::internal | 2933 } } // namespace v8::internal |
2923 | 2934 |
2924 #endif // V8_HYDROGEN_H_ | 2935 #endif // V8_HYDROGEN_H_ |
OLD | NEW |