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 2414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2425 template <typename CollectionType> | 2425 template <typename CollectionType> |
2426 HValue* BuildOrderedHashTableEntryToIndex(HValue* entry, HValue* num_buckets); | 2426 HValue* BuildOrderedHashTableEntryToIndex(HValue* entry, HValue* num_buckets); |
2427 template <typename CollectionType> | 2427 template <typename CollectionType> |
2428 HValue* BuildOrderedHashTableFindEntry(HValue* table, HValue* key, | 2428 HValue* BuildOrderedHashTableFindEntry(HValue* table, HValue* key, |
2429 HValue* hash); | 2429 HValue* hash); |
2430 template <typename CollectionType> | 2430 template <typename CollectionType> |
2431 HValue* BuildOrderedHashTableAddEntry(HValue* table, HValue* key, | 2431 HValue* BuildOrderedHashTableAddEntry(HValue* table, HValue* key, |
2432 HValue* hash, | 2432 HValue* hash, |
2433 HIfContinuation* join_continuation); | 2433 HIfContinuation* join_continuation); |
2434 template <typename CollectionType> | 2434 template <typename CollectionType> |
| 2435 HValue* BuildAllocateOrderedHashTable(); |
| 2436 template <typename CollectionType> |
2435 void BuildJSCollectionDelete(CallRuntime* call, | 2437 void BuildJSCollectionDelete(CallRuntime* call, |
2436 const Runtime::Function* c_function); | 2438 const Runtime::Function* c_function); |
2437 template <typename CollectionType> | 2439 template <typename CollectionType> |
2438 void BuildJSCollectionHas(CallRuntime* call, | 2440 void BuildJSCollectionHas(CallRuntime* call, |
2439 const Runtime::Function* c_function); | 2441 const Runtime::Function* c_function); |
2440 HValue* BuildStringHashLoadIfIsStringAndHashComputed( | 2442 HValue* BuildStringHashLoadIfIsStringAndHashComputed( |
2441 HValue* object, HIfContinuation* continuation); | 2443 HValue* object, HIfContinuation* continuation); |
2442 | 2444 |
2443 Handle<JSFunction> array_function() { | 2445 Handle<JSFunction> array_function() { |
2444 return handle(isolate()->native_context()->array_function()); | 2446 return handle(isolate()->native_context()->array_function()); |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2938 } | 2940 } |
2939 | 2941 |
2940 private: | 2942 private: |
2941 HGraphBuilder* builder_; | 2943 HGraphBuilder* builder_; |
2942 }; | 2944 }; |
2943 | 2945 |
2944 | 2946 |
2945 } } // namespace v8::internal | 2947 } } // namespace v8::internal |
2946 | 2948 |
2947 #endif // V8_HYDROGEN_H_ | 2949 #endif // V8_HYDROGEN_H_ |
OLD | NEW |