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

Side by Side Diff: src/compiler/access-builder.cc

Issue 2641843002: [turbofan] Lower JSLoadMessage/JSStoreMessage earlier. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 6
7 #include "src/compiler/type-cache.h" 7 #include "src/compiler/type-cache.h"
8 #include "src/contexts.h" 8 #include "src/contexts.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/handles-inl.h" 10 #include "src/handles-inl.h"
11 #include "src/heap/heap.h" 11 #include "src/heap/heap.h"
12 #include "src/objects-inl.h" 12 #include "src/objects-inl.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 namespace compiler { 16 namespace compiler {
17 17
18 // static 18 // static
19 FieldAccess AccessBuilder::ForExternalDoubleValue() { 19 FieldAccess AccessBuilder::ForExternalDoubleValue() {
20 FieldAccess access = {kUntaggedBase, 0, 20 FieldAccess access = {kUntaggedBase, 0,
21 MaybeHandle<Name>(), MaybeHandle<Map>(), 21 MaybeHandle<Name>(), MaybeHandle<Map>(),
22 Type::Number(), MachineType::Float64(), 22 Type::Number(), MachineType::Float64(),
23 kNoWriteBarrier}; 23 kNoWriteBarrier};
24 return access; 24 return access;
25 } 25 }
26 26
27 // static 27 // static
28 FieldAccess AccessBuilder::ForExternalTaggedValue() {
29 FieldAccess access = {kUntaggedBase, 0,
30 MaybeHandle<Name>(), MaybeHandle<Map>(),
31 Type::Any(), MachineType::AnyTagged(),
32 kNoWriteBarrier};
33 return access;
34 }
35
36 // static
28 FieldAccess AccessBuilder::ForExternalUint8Value() { 37 FieldAccess AccessBuilder::ForExternalUint8Value() {
29 FieldAccess access = {kUntaggedBase, 0, 38 FieldAccess access = {kUntaggedBase, 0,
30 MaybeHandle<Name>(), MaybeHandle<Map>(), 39 MaybeHandle<Name>(), MaybeHandle<Map>(),
31 TypeCache::Get().kUint8, MachineType::Uint8(), 40 TypeCache::Get().kUint8, MachineType::Uint8(),
32 kNoWriteBarrier}; 41 kNoWriteBarrier};
33 return access; 42 return access;
34 } 43 }
35 44
36 // static 45 // static
37 FieldAccess AccessBuilder::ForMap() { 46 FieldAccess AccessBuilder::ForMap() {
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 MaybeHandle<Map>(), 920 MaybeHandle<Map>(),
912 Type::SignedSmall(), 921 Type::SignedSmall(),
913 MachineType::TaggedSigned(), 922 MachineType::TaggedSigned(),
914 kNoWriteBarrier}; 923 kNoWriteBarrier};
915 return access; 924 return access;
916 } 925 }
917 926
918 } // namespace compiler 927 } // namespace compiler
919 } // namespace internal 928 } // namespace internal
920 } // namespace v8 929 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698