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

Unified Diff: src/collection.js

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 | « no previous file | src/hydrogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/collection.js
diff --git a/src/collection.js b/src/collection.js
index 6a32d698fc764265fe2363ab87986647b39e69d4..d93b8f82012a91e5d796ba369656c2b9fbe58295 100644
--- a/src/collection.js
+++ b/src/collection.js
@@ -65,7 +65,7 @@ function SetHasJS(key) {
throw MakeTypeError('incompatible_method_receiver',
['Set.prototype.has', this]);
}
- return %SetHas(this, key);
+ return %_SetHas(this, key);
}
@@ -83,7 +83,7 @@ function SetGetSizeJS() {
throw MakeTypeError('incompatible_method_receiver',
['Set.prototype.size', this]);
}
- return %SetGetSize(this);
+ return %_SetGetSize(this);
}
@@ -193,7 +193,7 @@ function MapGetJS(key) {
throw MakeTypeError('incompatible_method_receiver',
['Map.prototype.get', this]);
}
- return %MapGet(this, key);
+ return %_MapGet(this, key);
}
@@ -218,7 +218,7 @@ function MapHasJS(key) {
throw MakeTypeError('incompatible_method_receiver',
['Map.prototype.has', this]);
}
- return %MapHas(this, key);
+ return %_MapHas(this, key);
}
@@ -236,7 +236,7 @@ function MapGetSizeJS() {
throw MakeTypeError('incompatible_method_receiver',
['Map.prototype.size', this]);
}
- return %MapGetSize(this);
+ return %_MapGetSize(this);
}
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698