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

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

Issue 1529113002: [es6] Consistently use %_GetSuperConstructor to implement super calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment Created 5 years 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/ast-graph-builder.cc ('k') | src/full-codegen/arm/full-codegen-arm.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/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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // are blacklisted here and can be called without a FrameState. 154 // are blacklisted here and can be called without a FrameState.
155 switch (function) { 155 switch (function) {
156 case Runtime::kAllocateInTargetSpace: 156 case Runtime::kAllocateInTargetSpace:
157 case Runtime::kDateField: 157 case Runtime::kDateField:
158 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? 158 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe?
159 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? 159 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe?
160 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? 160 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe?
161 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? 161 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe?
162 case Runtime::kForInDone: 162 case Runtime::kForInDone:
163 case Runtime::kForInStep: 163 case Runtime::kForInStep:
164 case Runtime::kGetSuperConstructor:
164 case Runtime::kNewClosure: 165 case Runtime::kNewClosure:
165 case Runtime::kNewClosure_Tenured: 166 case Runtime::kNewClosure_Tenured:
166 case Runtime::kNewFunctionContext: 167 case Runtime::kNewFunctionContext:
167 case Runtime::kPushBlockContext: 168 case Runtime::kPushBlockContext:
168 case Runtime::kPushCatchContext: 169 case Runtime::kPushCatchContext:
169 case Runtime::kReThrow: 170 case Runtime::kReThrow:
170 case Runtime::kStringCompare: 171 case Runtime::kStringCompare:
171 case Runtime::kStringEquals: 172 case Runtime::kStringEquals:
172 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 173 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
173 case Runtime::kTraceEnter: 174 case Runtime::kTraceEnter:
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 } else { 523 } else {
523 DCHECK(loc == regloc(kContextRegister)); 524 DCHECK(loc == regloc(kContextRegister));
524 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); 525 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot);
525 } 526 }
526 } 527 }
527 528
528 529
529 } // namespace compiler 530 } // namespace compiler
530 } // namespace internal 531 } // namespace internal
531 } // namespace v8 532 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698