I am so sorry because I CAN NOT post the code in public, which will make it everybody difficult to get my point.
Basically what I did is:

1. using `jerry_generate_function_snapshot` to create a snapshot.
2. using `jerry_load_function_snapshot` to load the snapshot.
3. using `jerry_call_function` to execute the function created in step2.

Everything works well in the [gtest](https://github.com/google/googletest) framework.
But when I switch into [benchmark](https://github.com/google/benchmark) framework with the same code. The error `ERR_DISABLED_BYTE_CODE` popup. I try to google it but get zero message about this error.
Could you please give me a hint of what will cause the error `ERR_DISABLED_BYTE_CODE`? And what does this error mean?

The template in the benchmark is like 
```c
 static void initInfras(benchmark::State& state) {
 // more like a sudo code below...
    jerry_generate_function_snapshot();
    jerry_load_function_snapshot();
    for (auto _ : state) {
        jerry_call_function();
    }
BENCHMARK(initInfras);
```

Question: what does ERR_DISABLED_BYTE_CODE mean?
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Question: what does ERR_DISABLED_BYTE_CODE mean?
Issue date:

--- start body ---
I am so sorry because I CAN NOT post the code in public, which will make it everybody difficult to get my point.
Basically what I did is:

1. using `jerry_generate_function_snapshot` to create a snapshot.
2. using `jerry_load_function_snapshot` to load the snapshot.
3. using `jerry_call_function` to execute the function created in step2.

Everything works well in the [gtest](https://github.com/google/googletest) framework.
But when I switch into [benchmark](https://github.com/google/benchmark) framework with the same code. The error `ERR_DISABLED_BYTE_CODE` popup. I try to google it but get zero message about this error.
Could you please give me a hint of what will cause the error `ERR_DISABLED_BYTE_CODE`? And what does this error mean?

The template in the benchmark is like 
```c
 static void initInfras(benchmark::State& state) {
 // more like a sudo code below...
    jerry_generate_function_snapshot();
    jerry_load_function_snapshot();
    for (auto _ : state) {
        jerry_call_function();
    }
BENCHMARK(initInfras);
```

--- end body ---
