Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: src/compiler.cc

Issue 724023002: Soft fail for invalid cache data. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 5976cf0794a1a2a308323c715c732c7aec167fe9..8ed54df4f6d4d9d6dd9250bc63d6ed23b4c0514c 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1195,7 +1195,7 @@ Handle<SharedFunctionInfo> Compiler::CompileScript(
!isolate->debug()->is_loaded()) {
HistogramTimerScope timer(isolate->counters()->compile_deserialize());
Handle<SharedFunctionInfo> result;
- if (CodeSerializer::Deserialize(isolate, *cached_data, source)
+ if (CodeSerializer::Deserialize(isolate, cached_data, source)
.ToHandle(&result)) {
return result;
}

Powered by Google App Engine
This is Rietveld 408576698