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 541dd09911e05470be3d321c1411bcf9ee1ff12d..c72978fab108a995bc3266d8bb3c205f238e2e25 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -35,6 +35,11 @@ class JSBuiltinReducerTest : public GraphTest { |
return n; |
} |
+ Node* UndefinedConstant() { |
+ return HeapConstant( |
+ Unique<HeapObject>::CreateImmovable(factory()->undefined_value())); |
+ } |
+ |
JSOperatorBuilder* javascript() { return &javascript_; } |
private: |