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

Unified Diff: src/global-handles.cc

Issue 11961014: Inline SetWrapperClassId() and WrapperClassId() (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: patch Created 7 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
« include/v8.h ('K') | « src/api.cc ('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/global-handles.cc
diff --git a/src/global-handles.cc b/src/global-handles.cc
index a88560b0a49dc0551e72fcfaf99dca34e0448dba..3f4e3bea59d5fb8d96e9435d3dbb0f6932ffd532 100644
--- a/src/global-handles.cc
+++ b/src/global-handles.cc
@@ -61,6 +61,7 @@ class GlobalHandles::Node {
Node() {
ASSERT(OFFSET_OF(Node, flags_) == Internals::kNodeFlagsOffset);
+ ASSERT(OFFSET_OF(Node, class_id_) == Internals::kNodeClassIdOffset);
ASSERT(static_cast<int>(IsIndependent::kShift) ==
Internals::kNodeIsIndependentShift);
ASSERT(static_cast<int>(IsPartiallyDependent::kShift) ==
« include/v8.h ('K') | « src/api.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698