Commit fbe89ca1 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Add missing assert to Label destructor.

Review URL: http://codereview.chromium.org/7172026

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8316 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f4e4bc43
......@@ -90,7 +90,11 @@ class Label BASE_EMBEDDED {
Unuse();
UnuseNear();
}
INLINE(~Label()) { ASSERT(!is_linked()); }
INLINE(~Label()) {
ASSERT(!is_linked());
ASSERT(!is_near_linked());
}
INLINE(void Unuse()) { pos_ = 0; }
INLINE(void UnuseNear()) { near_link_pos_ = 0; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment