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

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

Issue 1850643002: Adding %_NewObject intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: formatting Created 4 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/crankshaft/hydrogen.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/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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 case Runtime::kStringEqual: 163 case Runtime::kStringEqual:
164 case Runtime::kStringNotEqual: 164 case Runtime::kStringNotEqual:
165 case Runtime::kStringLessThan: 165 case Runtime::kStringLessThan:
166 case Runtime::kStringLessThanOrEqual: 166 case Runtime::kStringLessThanOrEqual:
167 case Runtime::kStringGreaterThan: 167 case Runtime::kStringGreaterThan:
168 case Runtime::kStringGreaterThanOrEqual: 168 case Runtime::kStringGreaterThanOrEqual:
169 case Runtime::kTraceEnter: 169 case Runtime::kTraceEnter:
170 case Runtime::kTraceExit: 170 case Runtime::kTraceExit:
171 return 0; 171 return 0;
172 case Runtime::kInlineGetPrototype: 172 case Runtime::kInlineGetPrototype:
173 case Runtime::kInlineNewObject:
173 case Runtime::kInlineRegExpConstructResult: 174 case Runtime::kInlineRegExpConstructResult:
174 case Runtime::kInlineRegExpExec: 175 case Runtime::kInlineRegExpExec:
175 case Runtime::kInlineSubString: 176 case Runtime::kInlineSubString:
176 case Runtime::kInlineToInteger: 177 case Runtime::kInlineToInteger:
177 case Runtime::kInlineToLength: 178 case Runtime::kInlineToLength:
178 case Runtime::kInlineToName: 179 case Runtime::kInlineToName:
179 case Runtime::kInlineToNumber: 180 case Runtime::kInlineToNumber:
180 case Runtime::kInlineToObject: 181 case Runtime::kInlineToObject:
182 case Runtime::kInlineToPrimitive:
181 case Runtime::kInlineToPrimitive_Number: 183 case Runtime::kInlineToPrimitive_Number:
182 case Runtime::kInlineToPrimitive_String: 184 case Runtime::kInlineToPrimitive_String:
183 case Runtime::kInlineToPrimitive:
184 case Runtime::kInlineToString: 185 case Runtime::kInlineToString:
185 return 1; 186 return 1;
186 case Runtime::kInlineCall: 187 case Runtime::kInlineCall:
187 case Runtime::kInlineDeoptimizeNow: 188 case Runtime::kInlineDeoptimizeNow:
188 case Runtime::kInlineThrowNotDateError: 189 case Runtime::kInlineThrowNotDateError:
189 return 2; 190 return 2;
190 default: 191 default:
191 break; 192 break;
192 } 193 }
193 194
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 } else { 452 } else {
452 DCHECK(loc == regloc(kContextRegister)); 453 DCHECK(loc == regloc(kContextRegister));
453 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); 454 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot);
454 } 455 }
455 } 456 }
456 457
457 458
458 } // namespace compiler 459 } // namespace compiler
459 } // namespace internal 460 } // namespace internal
460 } // namespace v8 461 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/crankshaft/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698