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

Side by Side Diff: src/runtime.h

Issue 254433002: Store JSGlobalProxy's identity hash directly on the proxy itself (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Re-introduce %UnwrapProxy to make Object.observe work Created 6 years, 8 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 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 \ 326 \
327 /* Harmony events */ \ 327 /* Harmony events */ \
328 F(SetMicrotaskPending, 1, 1) \ 328 F(SetMicrotaskPending, 1, 1) \
329 F(RunMicrotasks, 0, 1) \ 329 F(RunMicrotasks, 0, 1) \
330 \ 330 \
331 /* Harmony observe */ \ 331 /* Harmony observe */ \
332 F(IsObserved, 1, 1) \ 332 F(IsObserved, 1, 1) \
333 F(SetIsObserved, 1, 1) \ 333 F(SetIsObserved, 1, 1) \
334 F(GetObservationState, 0, 1) \ 334 F(GetObservationState, 0, 1) \
335 F(ObservationWeakMapCreate, 0, 1) \ 335 F(ObservationWeakMapCreate, 0, 1) \
336 F(UnwrapGlobalProxy, 1, 1) \
336 F(IsAccessAllowedForObserver, 3, 1) \ 337 F(IsAccessAllowedForObserver, 3, 1) \
337 \ 338 \
338 /* Harmony typed arrays */ \ 339 /* Harmony typed arrays */ \
339 F(ArrayBufferInitialize, 2, 1)\ 340 F(ArrayBufferInitialize, 2, 1)\
340 F(ArrayBufferSliceImpl, 3, 1) \ 341 F(ArrayBufferSliceImpl, 3, 1) \
341 F(ArrayBufferIsView, 1, 1) \ 342 F(ArrayBufferIsView, 1, 1) \
342 F(ArrayBufferNeuter, 1, 1) \ 343 F(ArrayBufferNeuter, 1, 1) \
343 \ 344 \
344 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 345 F(TypedArrayInitializeFromArrayLike, 4, 1) \
345 F(TypedArrayGetBuffer, 1, 1) \ 346 F(TypedArrayGetBuffer, 1, 1) \
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 915 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
915 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 916 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
916 917
917 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 918 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
918 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 919 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
919 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 920 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
920 921
921 } } // namespace v8::internal 922 } } // namespace v8::internal
922 923
923 #endif // V8_RUNTIME_H_ 924 #endif // V8_RUNTIME_H_
OLDNEW
« src/objects.cc ('K') | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698