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

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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM + co. Created 5 years, 7 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/ast-graph-builder.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 #include "src/types-inl.h" 6 #include "src/types-inl.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 return {kTaggedBase, SeqString::kHeaderSize, Type::Unsigned32(), 143 return {kTaggedBase, SeqString::kHeaderSize, Type::Unsigned32(),
144 kMachUint8}; 144 kMachUint8};
145 case String::TWO_BYTE_ENCODING: 145 case String::TWO_BYTE_ENCODING:
146 return {kTaggedBase, SeqString::kHeaderSize, Type::Unsigned32(), 146 return {kTaggedBase, SeqString::kHeaderSize, Type::Unsigned32(),
147 kMachUint16}; 147 kMachUint16};
148 } 148 }
149 UNREACHABLE(); 149 UNREACHABLE();
150 return {kUntaggedBase, 0, Type::None(), kMachNone}; 150 return {kUntaggedBase, 0, Type::None(), kMachNone};
151 } 151 }
152 152
153
154 // static
155 FieldAccess AccessBuilder::ForJSFunctionSharedFunctionInfo() {
156 return {kTaggedBase, JSFunction::kSharedFunctionInfoOffset, Handle<Name>(),
157 Type::Any(), kMachAnyTagged};
158 }
159
160
161 // static
162 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() {
163 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset,
164 Handle<Name>(), Type::Any(), kMachAnyTagged};
165 }
166
153 } // namespace compiler 167 } // namespace compiler
154 } // namespace internal 168 } // namespace internal
155 } // namespace v8 169 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698