summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/compiler/function-tester.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/compiler/function-tester.cc')
-rw-r--r--deps/v8/test/cctest/compiler/function-tester.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/compiler/function-tester.cc b/deps/v8/test/cctest/compiler/function-tester.cc
index 1bc31c34a0..13141bbd60 100644
--- a/deps/v8/test/cctest/compiler/function-tester.cc
+++ b/deps/v8/test/cctest/compiler/function-tester.cc
@@ -45,7 +45,7 @@ FunctionTester::FunctionTester(Handle<Code> code, int param_count)
flags_(0) {
CHECK(!code.is_null());
Compile(function);
- function->set_code(*code);
+ function->set_code(*code, kReleaseStore);
}
FunctionTester::FunctionTester(Handle<Code> code) : FunctionTester(code, 0) {}
@@ -158,7 +158,7 @@ Handle<JSFunction> FunctionTester::CompileGraph(Graph* graph) {
Pipeline::GenerateCodeForTesting(&info, isolate, call_descriptor, graph,
AssemblerOptions::Default(isolate))
.ToHandleChecked();
- function->set_code(*code);
+ function->set_code(*code, kReleaseStore);
return function;
}