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

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

Issue 1097963002: [turbofan] Use FastCloneShallow[Array|Object]Stub if possible. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 5 years, 8 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/full-codegen.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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 case Runtime::kSetProperty: // TODO(jarin): Is it safe? 120 case Runtime::kSetProperty: // TODO(jarin): Is it safe?
121 case Runtime::kStringCompareRT: 121 case Runtime::kStringCompareRT:
122 case Runtime::kStringEquals: 122 case Runtime::kStringEquals:
123 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 123 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
124 case Runtime::kTraceEnter: 124 case Runtime::kTraceEnter:
125 case Runtime::kTraceExit: 125 case Runtime::kTraceExit:
126 case Runtime::kTypeof: 126 case Runtime::kTypeof:
127 return false; 127 return false;
128 case Runtime::kInlineArguments: 128 case Runtime::kInlineArguments:
129 case Runtime::kInlineCallFunction: 129 case Runtime::kInlineCallFunction:
130 case Runtime::kInlineCreateArrayLiteral:
131 case Runtime::kInlineCreateObjectLiteral:
130 case Runtime::kInlineDateField: 132 case Runtime::kInlineDateField:
131 case Runtime::kInlineDeoptimizeNow: 133 case Runtime::kInlineDeoptimizeNow:
132 case Runtime::kInlineGetPrototype: 134 case Runtime::kInlineGetPrototype:
133 case Runtime::kInlineRegExpExec: 135 case Runtime::kInlineRegExpExec:
134 return true; 136 return true;
135 default: 137 default:
136 break; 138 break;
137 } 139 }
138 140
139 // Most inlined runtime functions (except the ones listed above) can be called 141 // Most inlined runtime functions (except the ones listed above) can be called
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 184
183 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 185 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
184 const MachineSignature* sig) { 186 const MachineSignature* sig) {
185 UNIMPLEMENTED(); 187 UNIMPLEMENTED();
186 return NULL; 188 return NULL;
187 } 189 }
188 #endif // !V8_TURBOFAN_BACKEND 190 #endif // !V8_TURBOFAN_BACKEND
189 } 191 }
190 } 192 }
191 } // namespace v8::internal::compiler 193 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698