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

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

Issue 1739233002: [runtime] Remove obsolete %Apply and %TailCall runtime entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/js/prologue.js » ('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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/code-stubs.h" 6 #include "src/code-stubs.h"
7 #include "src/compiler.h" 7 #include "src/compiler.h"
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/frame.h" 9 #include "src/compiler/frame.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 case Runtime::kInlineToLength: 173 case Runtime::kInlineToLength:
174 case Runtime::kInlineToName: 174 case Runtime::kInlineToName:
175 case Runtime::kInlineToNumber: 175 case Runtime::kInlineToNumber:
176 case Runtime::kInlineToObject: 176 case Runtime::kInlineToObject:
177 case Runtime::kInlineToPrimitive_Number: 177 case Runtime::kInlineToPrimitive_Number:
178 case Runtime::kInlineToPrimitive_String: 178 case Runtime::kInlineToPrimitive_String:
179 case Runtime::kInlineToPrimitive: 179 case Runtime::kInlineToPrimitive:
180 case Runtime::kInlineToString: 180 case Runtime::kInlineToString:
181 return 1; 181 return 1;
182 case Runtime::kInlineCall: 182 case Runtime::kInlineCall:
183 case Runtime::kInlineTailCall:
184 case Runtime::kInlineDeoptimizeNow: 183 case Runtime::kInlineDeoptimizeNow:
185 case Runtime::kInlineThrowNotDateError: 184 case Runtime::kInlineThrowNotDateError:
186 return 2; 185 return 2;
187 default: 186 default:
188 break; 187 break;
189 } 188 }
190 189
191 // Most inlined runtime functions (except the ones listed above) can be called 190 // Most inlined runtime functions (except the ones listed above) can be called
192 // without a FrameState or will be lowered by JSIntrinsicLowering internally. 191 // without a FrameState or will be lowered by JSIntrinsicLowering internally.
193 const Runtime::Function* const f = Runtime::FunctionForId(function); 192 const Runtime::Function* const f = Runtime::FunctionForId(function);
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 } else { 445 } else {
447 DCHECK(loc == regloc(kContextRegister)); 446 DCHECK(loc == regloc(kContextRegister));
448 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); 447 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot);
449 } 448 }
450 } 449 }
451 450
452 451
453 } // namespace compiler 452 } // namespace compiler
454 } // namespace internal 453 } // namespace internal
455 } // namespace v8 454 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/js/prologue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698