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

Unified Diff: src/hydrogen.h

Issue 757143002: Optimize non-mutation Map and Set operations for String keys (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Replace End calls with IfBuilder destructor 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/collection.js ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index acb1ee13dc278844176e20a3ddb478d8c3ae876b..ebd9e8b015d165c63cb21fcc8e69c530b93e3078 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2417,6 +2417,17 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
ElementsKind fixed_elements_kind,
HValue* byte_length, HValue* length);
+ template <typename CollectionType>
+ HValue* BuildOrderedHashTableFindEntry(HValue* table, HValue* key,
+ HValue* hash);
+
+ template <typename CollectionType>
+ void BuildJSCollectionHas(CallRuntime* call,
+ const Runtime::Function* c_function);
+
+ HValue* BuildStringHashLoadIfIsStringAndHashComputed(
+ HValue* object, HIfContinuation* continuation);
+
Handle<JSFunction> array_function() {
return handle(isolate()->native_context()->array_function());
}
« no previous file with comments | « src/collection.js ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698