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

Unified Diff: src/api.cc

Issue 1026283004: fix disposal of phantom handles in GlobalValueMap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « include/v8-util.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 2d2bd1f23b8b11d80b6c1bc190a856b43b15ac99..78328b74fbcaa02aff29044bb5eb08a70e6f31f4 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -600,6 +600,13 @@ void V8::ToLocalEmpty() {
}
+void V8::InternalFieldOutOfBounds(int index) {
+ Utils::ApiCheck(0 <= index && index < kInternalFieldsInWeakCallback,
+ "WeakCallbackInfo::GetInternalField",
+ "Internal field out of bounds.");
+}
+
+
// --- H a n d l e s ---
« no previous file with comments | « include/v8-util.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698