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()); |