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

Side by Side Diff: src/compiler/js-operator.h

Issue 1596293003: Use default argument count for runtime function calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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-call-reducer.cc ('k') | src/compiler/js-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/compiler/type-hints.h" 8 #include "src/compiler/type-hints.h"
9 #include "src/runtime/runtime.h" 9 #include "src/runtime/runtime.h"
10 10
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 const Operator* CreateLiteralObject(Handle<FixedArray> constant_properties, 520 const Operator* CreateLiteralObject(Handle<FixedArray> constant_properties,
521 int literal_flags, int literal_index); 521 int literal_flags, int literal_index);
522 const Operator* CreateLiteralRegExp(Handle<String> constant_pattern, 522 const Operator* CreateLiteralRegExp(Handle<String> constant_pattern,
523 int literal_flags, int literal_index); 523 int literal_flags, int literal_index);
524 524
525 const Operator* CallFunction( 525 const Operator* CallFunction(
526 size_t arity, LanguageMode language_mode, 526 size_t arity, LanguageMode language_mode,
527 VectorSlotPair const& feedback = VectorSlotPair(), 527 VectorSlotPair const& feedback = VectorSlotPair(),
528 ConvertReceiverMode convert_mode = ConvertReceiverMode::kAny, 528 ConvertReceiverMode convert_mode = ConvertReceiverMode::kAny,
529 TailCallMode tail_call_mode = TailCallMode::kDisallow); 529 TailCallMode tail_call_mode = TailCallMode::kDisallow);
530 const Operator* CallRuntime(Runtime::FunctionId id);
530 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity); 531 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity);
532 const Operator* CallRuntime(const Runtime::Function* function, size_t arity);
531 const Operator* CallConstruct(size_t arity, VectorSlotPair const& feedback); 533 const Operator* CallConstruct(size_t arity, VectorSlotPair const& feedback);
532 534
533 const Operator* ConvertReceiver(ConvertReceiverMode convert_mode); 535 const Operator* ConvertReceiver(ConvertReceiverMode convert_mode);
534 536
535 const Operator* LoadProperty(LanguageMode language_mode, 537 const Operator* LoadProperty(LanguageMode language_mode,
536 VectorSlotPair const& feedback); 538 VectorSlotPair const& feedback);
537 const Operator* LoadNamed(LanguageMode language_mode, Handle<Name> name, 539 const Operator* LoadNamed(LanguageMode language_mode, Handle<Name> name,
538 VectorSlotPair const& feedback); 540 VectorSlotPair const& feedback);
539 541
540 const Operator* StoreProperty(LanguageMode language_mode, 542 const Operator* StoreProperty(LanguageMode language_mode,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 Zone* const zone_; 588 Zone* const zone_;
587 589
588 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 590 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
589 }; 591 };
590 592
591 } // namespace compiler 593 } // namespace compiler
592 } // namespace internal 594 } // namespace internal
593 } // namespace v8 595 } // namespace v8
594 596
595 #endif // V8_COMPILER_JS_OPERATOR_H_ 597 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-call-reducer.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698