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

Unified Diff: src/api-natives.cc

Issue 2043183003: Replace all remaining Oddball checks with new function (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: keep em coming Created 4 years, 6 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 | « src/api.cc ('k') | src/ast/ast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-natives.cc
diff --git a/src/api-natives.cc b/src/api-natives.cc
index 7fc85aa509a32a9fe70237031f148ba6a91b0d16..1bd71b00f96ef3c4b41482c8fefeebf758f9a7bd 100644
--- a/src/api-natives.cc
+++ b/src/api-natives.cc
@@ -287,7 +287,7 @@ void UncacheTemplateInstantiation(Isolate* isolate, uint32_t serial_number) {
Handle<Object> result =
UnseededNumberDictionary::DeleteProperty(cache, entry);
USE(result);
- DCHECK(result->IsTrue());
+ DCHECK(result->IsTrue(isolate));
auto new_cache = UnseededNumberDictionary::Shrink(cache, entry);
isolate->native_context()->set_template_instantiations_cache(*new_cache);
}
« no previous file with comments | « src/api.cc ('k') | src/ast/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698