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

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

Issue 1191283003: [date] Use explicit control flow to replace %_ThrowIfNotADate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/deoptimizer.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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::kInlineDeoptimizeNow: 135 case Runtime::kInlineDeoptimizeNow:
136 case Runtime::kInlineGetCallerJSFunction: 136 case Runtime::kInlineGetCallerJSFunction:
137 case Runtime::kInlineGetPrototype: 137 case Runtime::kInlineGetPrototype:
138 case Runtime::kInlineRegExpExec: 138 case Runtime::kInlineRegExpExec:
139 case Runtime::kInlineThrowIfNotADate: 139 case Runtime::kInlineThrowNotDateError:
140 return true; 140 return true;
141 default: 141 default:
142 break; 142 break;
143 } 143 }
144 144
145 // Most inlined runtime functions (except the ones listed above) can be called 145 // Most inlined runtime functions (except the ones listed above) can be called
146 // without a FrameState or will be lowered by JSIntrinsicLowering internally. 146 // without a FrameState or will be lowered by JSIntrinsicLowering internally.
147 const Runtime::Function* const f = Runtime::FunctionForId(function); 147 const Runtime::Function* const f = Runtime::FunctionForId(function);
148 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false; 148 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false;
149 149
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
201 const MachineSignature* sig) { 201 const MachineSignature* sig) {
202 UNIMPLEMENTED(); 202 UNIMPLEMENTED();
203 return NULL; 203 return NULL;
204 } 204 }
205 #endif // !V8_TURBOFAN_BACKEND 205 #endif // !V8_TURBOFAN_BACKEND
206 } // namespace compiler 206 } // namespace compiler
207 } // namespace internal 207 } // namespace internal
208 } // namespace v8 208 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698