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

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

Issue 1419173007: [turbofan] Add support for transitioning stores to double fields. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « src/compiler/access-builder.h ('k') | src/compiler/js-native-context-specialization.cc » ('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 791453c3dfc005cf2212f564614473097c082885..0492b801b30f22dab8f8d4e920cc53f47ecb4733 100644
--- a/src/compiler/access-builder.cc
+++ b/src/compiler/access-builder.cc
@@ -23,6 +23,15 @@ FieldAccess AccessBuilder::ForMap() {
// static
+FieldAccess AccessBuilder::ForHeapNumberValue() {
+ FieldAccess access = {kTaggedBase, HeapNumber::kValueOffset,
+ MaybeHandle<Name>(), TypeCache().Get().kFloat64,
+ kMachFloat64};
+ return access;
+}
+
+
+// static
FieldAccess AccessBuilder::ForJSObjectProperties() {
FieldAccess access = {kTaggedBase, JSObject::kPropertiesOffset,
MaybeHandle<Name>(), Type::Internal(), kMachAnyTagged};
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698