Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: src/hydrogen.h

Issue 779173010: Create optimized inline versions of Map and Set initialization (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Switch to StoreNamedField, shorten constant names Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698