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

Unified Diff: src/code-stub-assembler.h

Issue 2539013002: [ic] Prevent KeyedStoreIC from being generic when storing doubles to integer typed arrays. (Closed)
Patch Set: Created 4 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/code-stub-assembler.cc » ('j') | src/code-stub-assembler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 29afdfe4a0dd3a04ab6614d62238520950cfc4af..42d84c4fb822deff136417a9e082bfcfb5d57e1c 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -839,7 +839,11 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
// Loads script context from the script context table.
Node* LoadScriptContext(Node* context, int context_index);
- Node* ClampedToUint8(Node* int32_value);
+ Node* Int32ToUint8Clamped(Node* int32_value);
+ Node* Float64ToUint8Clamped(Node* float64_value);
+
+ Node* PrepareValueForWriteToTypedArray(Node* key, ElementsKind elements_kind,
+ Label* bailout);
// Store value to an elements array with given elements kind.
void StoreElement(Node* elements, ElementsKind kind, Node* index, Node* value,
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | src/code-stub-assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698