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

Side by Side Diff: src/objects.h

Issue 11274014: Store Object.observe state per-isolate rather than per-context (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use ObjectHashTable directly Created 8 years, 1 month 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 V(PolymorphicCodeCacheHashTable) \ 859 V(PolymorphicCodeCacheHashTable) \
860 V(MapCache) \ 860 V(MapCache) \
861 V(Primitive) \ 861 V(Primitive) \
862 V(GlobalObject) \ 862 V(GlobalObject) \
863 V(JSGlobalObject) \ 863 V(JSGlobalObject) \
864 V(JSBuiltinsObject) \ 864 V(JSBuiltinsObject) \
865 V(JSGlobalProxy) \ 865 V(JSGlobalProxy) \
866 V(UndetectableObject) \ 866 V(UndetectableObject) \
867 V(AccessCheckNeeded) \ 867 V(AccessCheckNeeded) \
868 V(JSGlobalPropertyCell) \ 868 V(JSGlobalPropertyCell) \
869 V(ObjectHashTable) \
869 870
870 871
871 class JSReceiver; 872 class JSReceiver;
872 873
873 // Object is the abstract superclass for all classes in the 874 // Object is the abstract superclass for all classes in the
874 // object hierarchy. 875 // object hierarchy.
875 // Object does not use any virtual functions to avoid the 876 // Object does not use any virtual functions to avoid the
876 // allocation of the C++ vtable. 877 // allocation of the C++ vtable.
877 // Since Smi and Failure are subclasses of Object no 878 // Since Smi and Failure are subclasses of Object no
878 // data members can be present in Object. 879 // data members can be present in Object.
(...skipping 8079 matching lines...) Expand 10 before | Expand all | Expand 10 after
8958 } else { 8959 } else {
8959 value &= ~(1 << bit_position); 8960 value &= ~(1 << bit_position);
8960 } 8961 }
8961 return value; 8962 return value;
8962 } 8963 }
8963 }; 8964 };
8964 8965
8965 } } // namespace v8::internal 8966 } } // namespace v8::internal
8966 8967
8967 #endif // V8_OBJECTS_H_ 8968 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/object-observe.js ('k') | src/objects-inl.h » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698