Index: test/cctest/compiler/code-assembler-tester.h |
diff --git a/test/cctest/compiler/code-assembler-tester.h b/test/cctest/compiler/code-assembler-tester.h |
index 1e3c58f453f7b3fa2184943a54eb1d161e7fb35b..c8da903ad21d06b7c409ada2635a7363f11be3e9 100644 |
--- a/test/cctest/compiler/code-assembler-tester.h |
+++ b/test/cctest/compiler/code-assembler-tester.h |
@@ -35,10 +35,11 @@ class CodeAssemblerTesterImpl : private ZoneHolder, public CodeAssemblerT { |
scope_(isolate) {} |
// Test generating code for a JS function (e.g. builtins). |
- CodeAssemblerTesterImpl(Isolate* isolate, int parameter_count) |
+ CodeAssemblerTesterImpl(Isolate* isolate, int parameter_count, |
+ Code::Kind kind = Code::FUNCTION) |
: ZoneHolder(isolate), |
CodeAssemblerT(isolate, ZoneHolder::zone(), parameter_count, |
- Code::ComputeFlags(Code::FUNCTION), "test"), |
+ Code::ComputeFlags(kind), "test"), |
scope_(isolate) {} |
// This constructor is intended to be used for creating code objects with |