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

Unified Diff: src/elements-kind.h

Issue 108503004: HStoreKeyed for Smis optimized for x64 + related redundant moves of elements removed (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A couple of static asserts added Created 7 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') | src/hydrogen.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/elements-kind.h
diff --git a/src/elements-kind.h b/src/elements-kind.h
index 51a690272f7f122848c3c30538bf9dadbceab7b5..1975cc458b401fd489f3bd51431c3ee92d9a164f 100644
--- a/src/elements-kind.h
+++ b/src/elements-kind.h
@@ -167,6 +167,11 @@ inline bool IsFastPackedElementsKind(ElementsKind kind) {
}
+inline bool IsFastPackedSmiElementsKind(ElementsKind kind) {
Toon Verwaest 2013/12/17 13:53:04 I wouldn't add this method. Just directly compare
Igor Sheludko 2013/12/18 10:01:33 Done.
+ return kind == FAST_SMI_ELEMENTS;
+}
+
+
inline ElementsKind GetPackedElementsKind(ElementsKind holey_kind) {
if (holey_kind == FAST_HOLEY_SMI_ELEMENTS) {
return FAST_SMI_ELEMENTS;
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698