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 2416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(); | 2435 HValue* BuildAllocateOrderedHashTable(); |
2436 template <typename CollectionType> | 2436 template <typename CollectionType> |
| 2437 void BuildOrderedHashTableClear(HValue* receiver); |
| 2438 template <typename CollectionType> |
2437 void BuildJSCollectionDelete(CallRuntime* call, | 2439 void BuildJSCollectionDelete(CallRuntime* call, |
2438 const Runtime::Function* c_function); | 2440 const Runtime::Function* c_function); |
2439 template <typename CollectionType> | 2441 template <typename CollectionType> |
2440 void BuildJSCollectionHas(CallRuntime* call, | 2442 void BuildJSCollectionHas(CallRuntime* call, |
2441 const Runtime::Function* c_function); | 2443 const Runtime::Function* c_function); |
2442 HValue* BuildStringHashLoadIfIsStringAndHashComputed( | 2444 HValue* BuildStringHashLoadIfIsStringAndHashComputed( |
2443 HValue* object, HIfContinuation* continuation); | 2445 HValue* object, HIfContinuation* continuation); |
2444 | 2446 |
2445 Handle<JSFunction> array_function() { | 2447 Handle<JSFunction> array_function() { |
2446 return handle(isolate()->native_context()->array_function()); | 2448 return handle(isolate()->native_context()->array_function()); |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2940 } | 2942 } |
2941 | 2943 |
2942 private: | 2944 private: |
2943 HGraphBuilder* builder_; | 2945 HGraphBuilder* builder_; |
2944 }; | 2946 }; |
2945 | 2947 |
2946 | 2948 |
2947 } } // namespace v8::internal | 2949 } } // namespace v8::internal |
2948 | 2950 |
2949 #endif // V8_HYDROGEN_H_ | 2951 #endif // V8_HYDROGEN_H_ |
OLD | NEW |