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

Unified Diff: src/snapshot/natives-external.cc

Issue 1567733004: Add diagnostic message if external blob files cannot be loaded. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months 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
« no previous file with comments | « no previous file | src/startup-data-util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/natives-external.cc
diff --git a/src/snapshot/natives-external.cc b/src/snapshot/natives-external.cc
index a97b0a74423f4001de8a4db79f41cca04adf5016..6505d15571e870ae3edf70859890cbd1e38ea474 100644
--- a/src/snapshot/natives-external.cc
+++ b/src/snapshot/natives-external.cc
@@ -119,11 +119,11 @@ template<NativeType type>
class NativesHolder {
public:
static NativesStore* get() {
- DCHECK(holder_);
+ CHECK(holder_);
return holder_;
}
static void set(NativesStore* store) {
- DCHECK(store);
+ CHECK(store);
holder_ = store;
}
static bool empty() { return holder_ == NULL; }
« no previous file with comments | « no previous file | src/startup-data-util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698