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

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

Issue 978123003: Merged INLINE_OPTIMIZED intrinsic type into INLINE. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed feedback. Created 5 years, 9 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/typer.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/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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 case Runtime::kStringCompare: 122 case Runtime::kStringCompare:
123 case Runtime::kStringEquals: 123 case Runtime::kStringEquals:
124 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 124 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
125 case Runtime::kTraceEnter: 125 case Runtime::kTraceEnter:
126 case Runtime::kTraceExit: 126 case Runtime::kTraceExit:
127 case Runtime::kTypeof: 127 case Runtime::kTypeof:
128 return false; 128 return false;
129 case Runtime::kInlineArguments: 129 case Runtime::kInlineArguments:
130 case Runtime::kInlineCallFunction: 130 case Runtime::kInlineCallFunction:
131 case Runtime::kInlineDateField: 131 case Runtime::kInlineDateField:
132 case Runtime::kInlineOptimizedGetPrototype: 132 case Runtime::kInlineGetPrototype:
133 case Runtime::kInlineRegExpExec: 133 case Runtime::kInlineRegExpExec:
134 return true; 134 return true;
135 default: 135 default:
136 break; 136 break;
137 } 137 }
138 138
139 // Most inlined runtime functions (except the ones listed above) can be called 139 // Most inlined runtime functions (except the ones listed above) can be called
140 // without a FrameState or will be lowered by JSIntrinsicLowering internally. 140 // without a FrameState or will be lowered by JSIntrinsicLowering internally.
141 const Runtime::Function* const f = Runtime::FunctionForId(function); 141 const Runtime::Function* const f = Runtime::FunctionForId(function);
142 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false; 142 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 183 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
184 const MachineSignature* sig) { 184 const MachineSignature* sig) {
185 UNIMPLEMENTED(); 185 UNIMPLEMENTED();
186 return NULL; 186 return NULL;
187 } 187 }
188 #endif // !V8_TURBOFAN_BACKEND 188 #endif // !V8_TURBOFAN_BACKEND
189 } 189 }
190 } 190 }
191 } // namespace v8::internal::compiler 191 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698