OLD | NEW |
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/linkage.h" | 5 #include "src/compiler/linkage.h" |
6 | 6 |
7 #include "src/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
8 #include "src/builtins/builtins-utils.h" | 8 #include "src/builtins/builtins-utils.h" |
9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/compilation-info.h" | 10 #include "src/compilation-info.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 case Runtime::kInlineFixedArraySet: | 161 case Runtime::kInlineFixedArraySet: |
162 case Runtime::kInlineGeneratorClose: | 162 case Runtime::kInlineGeneratorClose: |
163 case Runtime::kInlineGeneratorGetInputOrDebugPos: | 163 case Runtime::kInlineGeneratorGetInputOrDebugPos: |
164 case Runtime::kInlineGeneratorGetResumeMode: | 164 case Runtime::kInlineGeneratorGetResumeMode: |
165 case Runtime::kInlineGetSuperConstructor: | 165 case Runtime::kInlineGetSuperConstructor: |
166 case Runtime::kInlineIsArray: | 166 case Runtime::kInlineIsArray: |
167 case Runtime::kInlineIsJSReceiver: | 167 case Runtime::kInlineIsJSReceiver: |
168 case Runtime::kInlineIsRegExp: | 168 case Runtime::kInlineIsRegExp: |
169 case Runtime::kInlineIsSmi: | 169 case Runtime::kInlineIsSmi: |
170 case Runtime::kInlineIsTypedArray: | 170 case Runtime::kInlineIsTypedArray: |
171 case Runtime::kInlineRegExpFlags: | |
172 case Runtime::kInlineRegExpSource: | |
173 return false; | 171 return false; |
174 | 172 |
175 default: | 173 default: |
176 break; | 174 break; |
177 } | 175 } |
178 | 176 |
179 // For safety, default to needing a FrameState unless whitelisted. | 177 // For safety, default to needing a FrameState unless whitelisted. |
180 return true; | 178 return true; |
181 } | 179 } |
182 | 180 |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); | 490 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); |
493 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, | 491 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, |
494 MachineType::AnyTagged()); | 492 MachineType::AnyTagged()); |
495 } | 493 } |
496 } | 494 } |
497 | 495 |
498 | 496 |
499 } // namespace compiler | 497 } // namespace compiler |
500 } // namespace internal | 498 } // namespace internal |
501 } // namespace v8 | 499 } // namespace v8 |
OLD | NEW |