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

Side by Side Diff: src/runtime.h

Issue 307543008: Simplify, speed-up correct-context ObjectObserve calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: <sigh> remove style fix Created 6 years, 6 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
« no previous file with comments | « src/object-observe.js ('k') | src/runtime.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "zone.h" 9 #include "zone.h"
10 10
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 F(EnqueueMicrotask, 1, 1) \ 299 F(EnqueueMicrotask, 1, 1) \
300 F(RunMicrotasks, 0, 1) \ 300 F(RunMicrotasks, 0, 1) \
301 \ 301 \
302 /* Harmony observe */ \ 302 /* Harmony observe */ \
303 F(IsObserved, 1, 1) \ 303 F(IsObserved, 1, 1) \
304 F(SetIsObserved, 1, 1) \ 304 F(SetIsObserved, 1, 1) \
305 F(GetObservationState, 0, 1) \ 305 F(GetObservationState, 0, 1) \
306 F(ObservationWeakMapCreate, 0, 1) \ 306 F(ObservationWeakMapCreate, 0, 1) \
307 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ 307 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
308 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \ 308 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \
309 F(ObjectObserveInObjectContext, 3, 1) \ 309 F(GetObjectContextObjectObserve, 1, 1) \
310 F(ObjectGetNotifierInObjectContext, 1, 1) \ 310 F(GetObjectContextObjectGetNotifier, 1, 1) \
311 F(ObjectNotifierPerformChangeInObjectContext, 3, 1) \ 311 F(GetObjectContextNotifierPerformChange, 1, 1) \
312 \ 312 \
313 /* Harmony typed arrays */ \ 313 /* Harmony typed arrays */ \
314 F(ArrayBufferInitialize, 2, 1)\ 314 F(ArrayBufferInitialize, 2, 1)\
315 F(ArrayBufferSliceImpl, 3, 1) \ 315 F(ArrayBufferSliceImpl, 3, 1) \
316 F(ArrayBufferIsView, 1, 1) \ 316 F(ArrayBufferIsView, 1, 1) \
317 F(ArrayBufferNeuter, 1, 1) \ 317 F(ArrayBufferNeuter, 1, 1) \
318 \ 318 \
319 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 319 F(TypedArrayInitializeFromArrayLike, 4, 1) \
320 F(TypedArrayGetBuffer, 1, 1) \ 320 F(TypedArrayGetBuffer, 1, 1) \
321 F(TypedArraySetFastCases, 3, 1) \ 321 F(TypedArraySetFastCases, 3, 1) \
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 889 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
890 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 890 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
891 891
892 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 892 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
893 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 893 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
894 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 894 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
895 895
896 } } // namespace v8::internal 896 } } // namespace v8::internal
897 897
898 #endif // V8_RUNTIME_H_ 898 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/object-observe.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698