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/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 case Runtime::kStringLessThan: | 164 case Runtime::kStringLessThan: |
165 case Runtime::kStringLessThanOrEqual: | 165 case Runtime::kStringLessThanOrEqual: |
166 case Runtime::kStringGreaterThan: | 166 case Runtime::kStringGreaterThan: |
167 case Runtime::kStringGreaterThanOrEqual: | 167 case Runtime::kStringGreaterThanOrEqual: |
168 case Runtime::kToFastProperties: // TODO(conradw): Is it safe? | 168 case Runtime::kToFastProperties: // TODO(conradw): Is it safe? |
169 case Runtime::kTraceEnter: | 169 case Runtime::kTraceEnter: |
170 case Runtime::kTraceExit: | 170 case Runtime::kTraceExit: |
171 return false; | 171 return false; |
172 | 172 |
173 // Some inline intrinsics are also safe to call without a FrameState. | 173 // Some inline intrinsics are also safe to call without a FrameState. |
| 174 case Runtime::kInlineClassOf: |
174 case Runtime::kInlineCreateIterResultObject: | 175 case Runtime::kInlineCreateIterResultObject: |
175 case Runtime::kInlineFixedArrayGet: | 176 case Runtime::kInlineFixedArrayGet: |
176 case Runtime::kInlineFixedArraySet: | 177 case Runtime::kInlineFixedArraySet: |
177 case Runtime::kInlineGeneratorClose: | 178 case Runtime::kInlineGeneratorClose: |
178 case Runtime::kInlineGeneratorGetInputOrDebugPos: | 179 case Runtime::kInlineGeneratorGetInputOrDebugPos: |
179 case Runtime::kInlineGeneratorGetResumeMode: | 180 case Runtime::kInlineGeneratorGetResumeMode: |
180 case Runtime::kInlineIsArray: | 181 case Runtime::kInlineIsArray: |
181 case Runtime::kInlineIsJSReceiver: | 182 case Runtime::kInlineIsJSReceiver: |
182 case Runtime::kInlineIsRegExp: | 183 case Runtime::kInlineIsRegExp: |
183 case Runtime::kInlineIsSmi: | 184 case Runtime::kInlineIsSmi: |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); | 505 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); |
505 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, | 506 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, |
506 MachineType::AnyTagged()); | 507 MachineType::AnyTagged()); |
507 } | 508 } |
508 } | 509 } |
509 | 510 |
510 | 511 |
511 } // namespace compiler | 512 } // namespace compiler |
512 } // namespace internal | 513 } // namespace internal |
513 } // namespace v8 | 514 } // namespace v8 |
OLD | NEW |