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

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

Issue 2860123002: Revert of [js] Avoid %_ClassOf for collection builtins. (Closed)
Patch Set: Created 3 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/js-intrinsic-lowering.cc ('k') | src/debug/debug-evaluate.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/linkage.h" 5 #include "src/compiler/linkage.h"
6 6
7 #include "src/assembler-inl.h" 7 #include "src/assembler-inl.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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::kInlineClassOf:
175 case Runtime::kInlineCreateIterResultObject: 175 case Runtime::kInlineCreateIterResultObject:
176 case Runtime::kInlineFixedArrayGet: 176 case Runtime::kInlineFixedArrayGet:
177 case Runtime::kInlineFixedArraySet: 177 case Runtime::kInlineFixedArraySet:
178 case Runtime::kInlineGeneratorClose: 178 case Runtime::kInlineGeneratorClose:
179 case Runtime::kInlineGeneratorGetInputOrDebugPos: 179 case Runtime::kInlineGeneratorGetInputOrDebugPos:
180 case Runtime::kInlineGeneratorGetResumeMode: 180 case Runtime::kInlineGeneratorGetResumeMode:
181 case Runtime::kInlineIsArray: 181 case Runtime::kInlineIsArray:
182 case Runtime::kInlineIsJSMap:
183 case Runtime::kInlineIsJSSet:
184 case Runtime::kInlineIsJSMapIterator:
185 case Runtime::kInlineIsJSSetIterator:
186 case Runtime::kInlineIsJSWeakMap:
187 case Runtime::kInlineIsJSWeakSet:
188 case Runtime::kInlineIsJSGlobalProxy:
189 case Runtime::kInlineIsJSReceiver: 182 case Runtime::kInlineIsJSReceiver:
190 case Runtime::kInlineIsRegExp: 183 case Runtime::kInlineIsRegExp:
191 case Runtime::kInlineIsSmi: 184 case Runtime::kInlineIsSmi:
192 case Runtime::kInlineIsTypedArray: 185 case Runtime::kInlineIsTypedArray:
193 return false; 186 return false;
194 187
195 default: 188 default:
196 break; 189 break;
197 } 190 }
198 191
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); 505 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged()));
513 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, 506 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot,
514 MachineType::AnyTagged()); 507 MachineType::AnyTagged());
515 } 508 }
516 } 509 }
517 510
518 511
519 } // namespace compiler 512 } // namespace compiler
520 } // namespace internal 513 } // namespace internal
521 } // namespace v8 514 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/debug/debug-evaluate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698