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

Unified Diff: src/compiler/access-builder.cc

Issue 2245533003: [turbofan] Add inlined Array.prototype.push support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months 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/compiler/js-builtin-reducer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/access-builder.cc
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc
index 5aa71f726a30b8d35d3883d2fe526d4f9e554f8b..c43a53fba7637f82561cd5185e03c2eda45c498e 100644
--- a/src/compiler/access-builder.cc
+++ b/src/compiler/access-builder.cc
@@ -629,6 +629,16 @@ ElementAccess AccessBuilder::ForFixedArrayElement(ElementsKind kind) {
break;
case FAST_HOLEY_ELEMENTS:
break;
+ case FAST_DOUBLE_ELEMENTS:
+ access.type = Type::Number();
+ access.write_barrier_kind = kNoWriteBarrier;
+ access.machine_type = MachineType::Float64();
+ break;
+ case FAST_HOLEY_DOUBLE_ELEMENTS:
+ access.type = Type::Number();
+ access.write_barrier_kind = kNoWriteBarrier;
+ access.machine_type = MachineType::Float64();
+ break;
default:
UNREACHABLE();
break;
« no previous file with comments | « no previous file | src/compiler/js-builtin-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698