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

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

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 6 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/compiler/machine-operator.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 #include "src/compiler.h" 6 #include "src/compiler.h"
7 #include "src/compiler/linkage.h" 7 #include "src/compiler/linkage.h"
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 case Runtime::kStringCompareRT: 127 case Runtime::kStringCompareRT:
128 case Runtime::kStringEquals: 128 case Runtime::kStringEquals:
129 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 129 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
130 case Runtime::kTraceEnter: 130 case Runtime::kTraceEnter:
131 case Runtime::kTraceExit: 131 case Runtime::kTraceExit:
132 return false; 132 return false;
133 case Runtime::kInlineArguments: 133 case Runtime::kInlineArguments:
134 case Runtime::kInlineCallFunction: 134 case Runtime::kInlineCallFunction:
135 case Runtime::kInlineDateField: // TODO(bmeurer): Remove this. 135 case Runtime::kInlineDateField: // TODO(bmeurer): Remove this.
136 case Runtime::kInlineDeoptimizeNow: 136 case Runtime::kInlineDeoptimizeNow:
137 case Runtime::kInlineGetCallerJSFunction:
137 case Runtime::kInlineGetPrototype: 138 case Runtime::kInlineGetPrototype:
138 case Runtime::kInlineRegExpExec: 139 case Runtime::kInlineRegExpExec:
139 case Runtime::kInlineThrowIfNotADate: 140 case Runtime::kInlineThrowIfNotADate:
140 return true; 141 return true;
141 default: 142 default:
142 break; 143 break;
143 } 144 }
144 145
145 // Most inlined runtime functions (except the ones listed above) can be called 146 // Most inlined runtime functions (except the ones listed above) can be called
146 // without a FrameState or will be lowered by JSIntrinsicLowering internally. 147 // without a FrameState or will be lowered by JSIntrinsicLowering internally.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 200
200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 201 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
201 const MachineSignature* sig) { 202 const MachineSignature* sig) {
202 UNIMPLEMENTED(); 203 UNIMPLEMENTED();
203 return NULL; 204 return NULL;
204 } 205 }
205 #endif // !V8_TURBOFAN_BACKEND 206 #endif // !V8_TURBOFAN_BACKEND
206 } // namespace compiler 207 } // namespace compiler
207 } // namespace internal 208 } // namespace internal
208 } // namespace v8 209 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698