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

Unified Diff: src/objects-debug.cc

Issue 1371893002: objects-inl.h: Remove ACCESSORS_TO_SMI macro (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: undo last_script_id storage change Created 5 years, 3 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/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index beefbaa964bd79ede95d875203cf779eda4f8288..3ce7672c1cbf9fbc27b9bd147daafad58e8388fe 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -211,7 +211,6 @@ void Symbol::SymbolVerify() {
CHECK(HasHashCode());
CHECK_GT(Hash(), 0u);
CHECK(name()->IsUndefined() || name()->IsString());
- CHECK(flags()->IsSmi());
}
@@ -898,7 +897,6 @@ void PrototypeInfo::PrototypeInfoVerify() {
void AccessorInfo::AccessorInfoVerify() {
VerifyPointer(name());
- VerifyPointer(flag());
VerifyPointer(expected_receiver_type());
}
@@ -1006,12 +1004,8 @@ void Script::ScriptVerify() {
CHECK(IsScript());
VerifyPointer(source());
VerifyPointer(name());
- line_offset()->SmiVerify();
- column_offset()->SmiVerify();
VerifyPointer(wrapper());
- type()->SmiVerify();
VerifyPointer(line_ends());
- VerifyPointer(id());
}
@@ -1040,9 +1034,6 @@ void DebugInfo::DebugInfoVerify() {
void BreakPointInfo::BreakPointInfoVerify() {
CHECK(IsBreakPointInfo());
- code_position()->SmiVerify();
- source_position()->SmiVerify();
- statement_position()->SmiVerify();
VerifyPointer(break_point_objects());
}
#endif // VERIFY_HEAP
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698