We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d9611c commit ed2c673Copy full SHA for ed2c673
tools/code_cache/mkcodecache.cc
@@ -55,6 +55,9 @@ int main(int argc, char* argv[]) {
55
v8::Local<v8::Context> context = v8::Context::New(isolate);
56
v8::Context::Scope context_scope(context);
57
58
+ // The command line flags are part of the code cache's checksum so reset
59
+ // --random_seed= to its default value before creating the code cache.
60
+ v8::V8::SetFlagsFromString("--random_seed=0");
61
std::string cache = CodeCacheBuilder::Generate(context);
62
out << cache;
63
out.close();
0 commit comments