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

Side by Side Diff: src/compiler/linkage.cc

Issue 2647833004: [turbofan] Properly implement %_ClassOf intrinsic. (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/js-operator.cc ('k') | src/compiler/opcodes.h » ('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/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
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
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
OLDNEW
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698