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

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: Added back runtime asserts 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
« no previous file with comments | « src/object-observe.js ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 V(PolymorphicCodeCacheHashTable) \ 866 V(PolymorphicCodeCacheHashTable) \
867 V(MapCache) \ 867 V(MapCache) \
868 V(Primitive) \ 868 V(Primitive) \
869 V(GlobalObject) \ 869 V(GlobalObject) \
870 V(JSGlobalObject) \ 870 V(JSGlobalObject) \
871 V(JSBuiltinsObject) \ 871 V(JSBuiltinsObject) \
872 V(JSGlobalProxy) \ 872 V(JSGlobalProxy) \
873 V(UndetectableObject) \ 873 V(UndetectableObject) \
874 V(AccessCheckNeeded) \ 874 V(AccessCheckNeeded) \
875 V(JSGlobalPropertyCell) \ 875 V(JSGlobalPropertyCell) \
876 V(ObjectHashTable) \
876 877
877 878
878 class JSReceiver; 879 class JSReceiver;
879 880
880 // Object is the abstract superclass for all classes in the 881 // Object is the abstract superclass for all classes in the
881 // object hierarchy. 882 // object hierarchy.
882 // Object does not use any virtual functions to avoid the 883 // Object does not use any virtual functions to avoid the
883 // allocation of the C++ vtable. 884 // allocation of the C++ vtable.
884 // Since Smi and Failure are subclasses of Object no 885 // Since Smi and Failure are subclasses of Object no
885 // data members can be present in Object. 886 // data members can be present in Object.
(...skipping 8089 matching lines...) Expand 10 before | Expand all | Expand 10 after
8975 } else { 8976 } else {
8976 value &= ~(1 << bit_position); 8977 value &= ~(1 << bit_position);
8977 } 8978 }
8978 return value; 8979 return value;
8979 } 8980 }
8980 }; 8981 };
8981 8982
8982 } } // namespace v8::internal 8983 } } // namespace v8::internal
8983 8984
8984 #endif // V8_OBJECTS_H_ 8985 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/object-observe.js ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698