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

Unified Diff: src/objects-debug.cc

Issue 23604020: Initial prototype of object layout generation. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 4ba70c3c88efc52950389800bcb5a43df42e65fe..8cfd355dd56c3c3e6c9487fb47ac5997fc6a7765 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -403,11 +403,6 @@ void TypeFeedbackInfo::TypeFeedbackInfoVerify() {
}
-void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() {
- VerifySmiField(kAliasedContextSlot);
-}
-
-
void FixedArray::FixedArrayVerify() {
for (int i = 0; i < length(); i++) {
Object* e = get(i);
@@ -831,12 +826,6 @@ void Foreign::ForeignVerify() {
}
-void Box::BoxVerify() {
- CHECK(IsBox());
- value()->Verify();
-}
-
-
void AccessorInfo::AccessorInfoVerify() {
VerifyPointer(name());
VerifyPointer(flag());
@@ -844,28 +833,12 @@ void AccessorInfo::AccessorInfoVerify() {
}
-void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() {
- CHECK(IsExecutableAccessorInfo());
- AccessorInfoVerify();
- VerifyPointer(getter());
- VerifyPointer(setter());
- VerifyPointer(data());
-}
-
-
void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorVerify() {
CHECK(IsDeclaredAccessorDescriptor());
VerifyPointer(serialized_data());
}
-void DeclaredAccessorInfo::DeclaredAccessorInfoVerify() {
- CHECK(IsDeclaredAccessorInfo());
- AccessorInfoVerify();
- VerifyPointer(descriptor());
-}
-
-
void AccessorPair::AccessorPairVerify() {
CHECK(IsAccessorPair());
VerifyPointer(getter());
@@ -906,43 +879,6 @@ void TemplateInfo::TemplateInfoVerify() {
}
-void FunctionTemplateInfo::FunctionTemplateInfoVerify() {
- CHECK(IsFunctionTemplateInfo());
- TemplateInfoVerify();
- VerifyPointer(serial_number());
- VerifyPointer(call_code());
- VerifyPointer(property_accessors());
- VerifyPointer(prototype_template());
- VerifyPointer(parent_template());
- VerifyPointer(named_property_handler());
- VerifyPointer(indexed_property_handler());
- VerifyPointer(instance_template());
- VerifyPointer(signature());
- VerifyPointer(access_check_info());
-}
-
-
-void ObjectTemplateInfo::ObjectTemplateInfoVerify() {
- CHECK(IsObjectTemplateInfo());
- TemplateInfoVerify();
- VerifyPointer(constructor());
- VerifyPointer(internal_field_count());
-}
-
-
-void SignatureInfo::SignatureInfoVerify() {
- CHECK(IsSignatureInfo());
- VerifyPointer(receiver());
- VerifyPointer(args());
-}
-
-
-void TypeSwitchInfo::TypeSwitchInfoVerify() {
- CHECK(IsTypeSwitchInfo());
- VerifyPointer(types());
-}
-
-
void AllocationSite::AllocationSiteVerify() {
CHECK(IsAllocationSite());
}
« src/objects.layout ('K') | « src/objects.layout ('k') | src/objects-gen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698