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

Side by Side Diff: src/objects-debug.cc

Issue 9152001: Introduce a new AccessorPair type for handling JavaScript accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 void AccessorInfo::AccessorInfoVerify() { 595 void AccessorInfo::AccessorInfoVerify() {
596 CHECK(IsAccessorInfo()); 596 CHECK(IsAccessorInfo());
597 VerifyPointer(getter()); 597 VerifyPointer(getter());
598 VerifyPointer(setter()); 598 VerifyPointer(setter());
599 VerifyPointer(name()); 599 VerifyPointer(name());
600 VerifyPointer(data()); 600 VerifyPointer(data());
601 VerifyPointer(flag()); 601 VerifyPointer(flag());
602 } 602 }
603 603
604 604
605 void AccessorPair::AccessorPairVerify() {
606 CHECK(IsAccessorPair());
607 VerifyPointer(getter());
608 VerifyPointer(setter());
609 }
610
611
605 void AccessCheckInfo::AccessCheckInfoVerify() { 612 void AccessCheckInfo::AccessCheckInfoVerify() {
606 CHECK(IsAccessCheckInfo()); 613 CHECK(IsAccessCheckInfo());
607 VerifyPointer(named_callback()); 614 VerifyPointer(named_callback());
608 VerifyPointer(indexed_callback()); 615 VerifyPointer(indexed_callback());
609 VerifyPointer(data()); 616 VerifyPointer(data());
610 } 617 }
611 618
612 619
613 void InterceptorInfo::InterceptorInfoVerify() { 620 void InterceptorInfo::InterceptorInfoVerify() {
614 CHECK(IsInterceptorInfo()); 621 CHECK(IsInterceptorInfo());
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 ASSERT(e->IsUndefined()); 854 ASSERT(e->IsUndefined());
848 } 855 }
849 } 856 }
850 } 857 }
851 } 858 }
852 859
853 860
854 #endif // DEBUG 861 #endif // DEBUG
855 862
856 } } // namespace v8::internal 863 } } // namespace v8::internal
OLDNEW
« src/objects.cc ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698