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

Unified Diff: test/unittests/compiler/js-builtin-reducer-unittest.cc

Issue 1410853007: [turbofan] Remove use of CallFunctionStub from TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | test/unittests/compiler/js-context-relaxation-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/compiler/js-builtin-reducer-unittest.cc
diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc
index 96cf5f4df8034e4d66c9902db9a273f07966c9dd..ae367aa395a480fe8711458fcef32df130ab4910 100644
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc
@@ -88,10 +88,9 @@ TEST_F(JSBuiltinReducerTest, MathMax0) {
Node* context = UndefinedConstant();
Node* frame_state = graph()->start();
TRACED_FOREACH(LanguageMode, language_mode, kLanguageModes) {
- Node* call = graph()->NewNode(
- javascript()->CallFunction(2, NO_CALL_FUNCTION_FLAGS, language_mode),
- function, UndefinedConstant(), context, frame_state, frame_state,
- effect, control);
+ Node* call = graph()->NewNode(javascript()->CallFunction(2, language_mode),
+ function, UndefinedConstant(), context,
+ frame_state, frame_state, effect, control);
Reduction r = Reduce(call);
ASSERT_TRUE(r.Changed());
@@ -110,10 +109,10 @@ TEST_F(JSBuiltinReducerTest, MathMax1) {
TRACED_FOREACH(LanguageMode, language_mode, kLanguageModes) {
TRACED_FOREACH(Type*, t0, kNumberTypes) {
Node* p0 = Parameter(t0, 0);
- Node* call = graph()->NewNode(
- javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS, language_mode),
- function, UndefinedConstant(), p0, context, frame_state, frame_state,
- effect, control);
+ Node* call =
+ graph()->NewNode(javascript()->CallFunction(3, language_mode),
+ function, UndefinedConstant(), p0, context,
+ frame_state, frame_state, effect, control);
Reduction r = Reduce(call);
ASSERT_TRUE(r.Changed());
@@ -136,8 +135,7 @@ TEST_F(JSBuiltinReducerTest, MathMax2) {
Node* p0 = Parameter(t0, 0);
Node* p1 = Parameter(t1, 1);
Node* call =
- graph()->NewNode(javascript()->CallFunction(
- 4, NO_CALL_FUNCTION_FLAGS, language_mode),
+ graph()->NewNode(javascript()->CallFunction(4, language_mode),
function, UndefinedConstant(), p0, p1, context,
frame_state, frame_state, effect, control);
Reduction r = Reduce(call);
@@ -168,8 +166,7 @@ TEST_F(JSBuiltinReducerTest, MathImul) {
Node* p0 = Parameter(t0, 0);
Node* p1 = Parameter(t1, 1);
Node* call =
- graph()->NewNode(javascript()->CallFunction(
- 4, NO_CALL_FUNCTION_FLAGS, language_mode),
+ graph()->NewNode(javascript()->CallFunction(4, language_mode),
function, UndefinedConstant(), p0, p1, context,
frame_state, frame_state, effect, control);
Reduction r = Reduce(call);
@@ -196,10 +193,10 @@ TEST_F(JSBuiltinReducerTest, MathFround) {
TRACED_FOREACH(LanguageMode, language_mode, kLanguageModes) {
TRACED_FOREACH(Type*, t0, kNumberTypes) {
Node* p0 = Parameter(t0, 0);
- Node* call = graph()->NewNode(
- javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS, language_mode),
- function, UndefinedConstant(), p0, context, frame_state, frame_state,
- effect, control);
+ Node* call =
+ graph()->NewNode(javascript()->CallFunction(3, language_mode),
+ function, UndefinedConstant(), p0, context,
+ frame_state, frame_state, effect, control);
Reduction r = Reduce(call);
ASSERT_TRUE(r.Changed());
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | test/unittests/compiler/js-context-relaxation-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698