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

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

Issue 2655233002: [turbofan] Introduce JSCallForwardVarargs operator. (Closed)
Patch Set: Fix formatting. Created 3 years, 10 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/code-factory.h ('k') | src/compiler/code-generator.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-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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 CallTrampolineDescriptor(isolate)); 379 CallTrampolineDescriptor(isolate));
380 } 380 }
381 381
382 // static 382 // static
383 Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) { 383 Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) {
384 return Callable(isolate->builtins()->CallFunction(mode), 384 return Callable(isolate->builtins()->CallFunction(mode),
385 CallTrampolineDescriptor(isolate)); 385 CallTrampolineDescriptor(isolate));
386 } 386 }
387 387
388 // static 388 // static
389 Callable CodeFactory::CallForwardVarargs(Isolate* isolate) {
390 return Callable(isolate->builtins()->CallForwardVarargs(),
391 CallForwardVarargsDescriptor(isolate));
392 }
393
394 // static
395 Callable CodeFactory::CallFunctionForwardVarargs(Isolate* isolate) {
396 return Callable(isolate->builtins()->CallFunctionForwardVarargs(),
397 CallForwardVarargsDescriptor(isolate));
398 }
399
400 // static
389 Callable CodeFactory::Construct(Isolate* isolate) { 401 Callable CodeFactory::Construct(Isolate* isolate) {
390 return Callable(isolate->builtins()->Construct(), 402 return Callable(isolate->builtins()->Construct(),
391 ConstructTrampolineDescriptor(isolate)); 403 ConstructTrampolineDescriptor(isolate));
392 } 404 }
393 405
394 // static 406 // static
395 Callable CodeFactory::ConstructWithSpread(Isolate* isolate) { 407 Callable CodeFactory::ConstructWithSpread(Isolate* isolate) {
396 return Callable(isolate->builtins()->ConstructWithSpread(), 408 return Callable(isolate->builtins()->ConstructWithSpread(),
397 ConstructTrampolineDescriptor(isolate)); 409 ConstructTrampolineDescriptor(isolate));
398 } 410 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 457 }
446 458
447 // static 459 // static
448 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 460 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
449 return Callable(isolate->builtins()->FunctionPrototypeBind(), 461 return Callable(isolate->builtins()->FunctionPrototypeBind(),
450 BuiltinDescriptor(isolate)); 462 BuiltinDescriptor(isolate));
451 } 463 }
452 464
453 } // namespace internal 465 } // namespace internal
454 } // namespace v8 466 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698