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

Side by Side Diff: src/code-factory.cc

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: rebase Created 4 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/code-factory.h ('k') | src/code-stub-assembler.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-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 TFS_BUILTIN(ToInteger) 244 TFS_BUILTIN(ToInteger)
245 TFS_BUILTIN(ToLength) 245 TFS_BUILTIN(ToLength)
246 TFS_BUILTIN(ToObject) 246 TFS_BUILTIN(ToObject)
247 TFS_BUILTIN(Typeof) 247 TFS_BUILTIN(Typeof)
248 TFS_BUILTIN(InstanceOf) 248 TFS_BUILTIN(InstanceOf)
249 TFS_BUILTIN(OrdinaryHasInstance) 249 TFS_BUILTIN(OrdinaryHasInstance)
250 TFS_BUILTIN(ForInFilter) 250 TFS_BUILTIN(ForInFilter)
251 TFS_BUILTIN(NewUnmappedArgumentsElements) 251 TFS_BUILTIN(NewUnmappedArgumentsElements)
252 TFS_BUILTIN(NewRestParameterElements) 252 TFS_BUILTIN(NewRestParameterElements)
253 TFS_BUILTIN(PromiseHandleReject) 253 TFS_BUILTIN(PromiseHandleReject)
254 TFS_BUILTIN(GetSuperConstructor)
254 255
255 #undef TFS_BUILTIN 256 #undef TFS_BUILTIN
256 257
257 // static 258 // static
258 Callable CodeFactory::Inc(Isolate* isolate) { 259 Callable CodeFactory::Inc(Isolate* isolate) {
259 IncStub stub(isolate); 260 IncStub stub(isolate);
260 return make_callable(stub); 261 return make_callable(stub);
261 } 262 }
262 263
263 // static 264 // static
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 } 511 }
511 512
512 // static 513 // static
513 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 514 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
514 return Callable(isolate->builtins()->FunctionPrototypeBind(), 515 return Callable(isolate->builtins()->FunctionPrototypeBind(),
515 BuiltinDescriptor(isolate)); 516 BuiltinDescriptor(isolate));
516 } 517 }
517 518
518 } // namespace internal 519 } // namespace internal
519 } // namespace v8 520 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698