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

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

Issue 1340313003: [turbofan] Make arguments object materialization inlinable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-arguments-2
Patch Set: Rebased Created 5 years, 3 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/operator-properties.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 #include "src/compiler.h" 6 #include "src/compiler.h"
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/frame.h" 8 #include "src/compiler/frame.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 switch (function) { 218 switch (function) {
219 case Runtime::kAllocateInTargetSpace: 219 case Runtime::kAllocateInTargetSpace:
220 case Runtime::kDateField: 220 case Runtime::kDateField:
221 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? 221 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe?
222 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? 222 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe?
223 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? 223 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe?
224 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? 224 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe?
225 case Runtime::kForInDone: 225 case Runtime::kForInDone:
226 case Runtime::kForInStep: 226 case Runtime::kForInStep:
227 case Runtime::kGetOriginalConstructor: 227 case Runtime::kGetOriginalConstructor:
228 case Runtime::kNewArguments:
229 case Runtime::kNewClosure: 228 case Runtime::kNewClosure:
230 case Runtime::kNewClosure_Tenured: 229 case Runtime::kNewClosure_Tenured:
231 case Runtime::kNewFunctionContext: 230 case Runtime::kNewFunctionContext:
232 case Runtime::kPushBlockContext: 231 case Runtime::kPushBlockContext:
233 case Runtime::kPushCatchContext: 232 case Runtime::kPushCatchContext:
234 case Runtime::kReThrow: 233 case Runtime::kReThrow:
235 case Runtime::kStringCompare: 234 case Runtime::kStringCompare:
236 case Runtime::kStringEquals: 235 case Runtime::kStringEquals:
237 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 236 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
238 case Runtime::kTraceEnter: 237 case Runtime::kTraceEnter:
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 return LinkageLocation::ForCalleeFrameSlot(spill_index); 523 return LinkageLocation::ForCalleeFrameSlot(spill_index);
525 } else { 524 } else {
526 // Parameter. Use the assigned location from the incoming call descriptor. 525 // Parameter. Use the assigned location from the incoming call descriptor.
527 int parameter_index = 1 + index; // skip index 0, which is the target. 526 int parameter_index = 1 + index; // skip index 0, which is the target.
528 return incoming_->GetInputLocation(parameter_index); 527 return incoming_->GetInputLocation(parameter_index);
529 } 528 }
530 } 529 }
531 } // namespace compiler 530 } // namespace compiler
532 } // namespace internal 531 } // namespace internal
533 } // namespace v8 532 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/operator-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698