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

Side by Side Diff: src/runtime.h

Issue 265503002: Re-enable Object.observe and add enforcement for security invariants. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: cr comment Created 6 years, 7 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/objects.cc ('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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 \ 304 \
305 /* Harmony events */ \ 305 /* Harmony events */ \
306 F(SetMicrotaskPending, 1, 1) \ 306 F(SetMicrotaskPending, 1, 1) \
307 F(RunMicrotasks, 0, 1) \ 307 F(RunMicrotasks, 0, 1) \
308 \ 308 \
309 /* Harmony observe */ \ 309 /* Harmony observe */ \
310 F(IsObserved, 1, 1) \ 310 F(IsObserved, 1, 1) \
311 F(SetIsObserved, 1, 1) \ 311 F(SetIsObserved, 1, 1) \
312 F(GetObservationState, 0, 1) \ 312 F(GetObservationState, 0, 1) \
313 F(ObservationWeakMapCreate, 0, 1) \ 313 F(ObservationWeakMapCreate, 0, 1) \
314 F(IsAccessAllowedForObserver, 3, 1) \ 314 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
315 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \
315 \ 316 \
316 /* Harmony typed arrays */ \ 317 /* Harmony typed arrays */ \
317 F(ArrayBufferInitialize, 2, 1)\ 318 F(ArrayBufferInitialize, 2, 1)\
318 F(ArrayBufferSliceImpl, 3, 1) \ 319 F(ArrayBufferSliceImpl, 3, 1) \
319 F(ArrayBufferIsView, 1, 1) \ 320 F(ArrayBufferIsView, 1, 1) \
320 F(ArrayBufferNeuter, 1, 1) \ 321 F(ArrayBufferNeuter, 1, 1) \
321 \ 322 \
322 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 323 F(TypedArrayInitializeFromArrayLike, 4, 1) \
323 F(TypedArrayGetBuffer, 1, 1) \ 324 F(TypedArrayGetBuffer, 1, 1) \
324 F(TypedArraySetFastCases, 3, 1) \ 325 F(TypedArraySetFastCases, 3, 1) \
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 F(HasFixedUint8Elements, 1, 1) \ 391 F(HasFixedUint8Elements, 1, 1) \
391 F(HasFixedInt16Elements, 1, 1) \ 392 F(HasFixedInt16Elements, 1, 1) \
392 F(HasFixedUint16Elements, 1, 1) \ 393 F(HasFixedUint16Elements, 1, 1) \
393 F(HasFixedInt32Elements, 1, 1) \ 394 F(HasFixedInt32Elements, 1, 1) \
394 F(HasFixedUint32Elements, 1, 1) \ 395 F(HasFixedUint32Elements, 1, 1) \
395 F(HasFixedFloat32Elements, 1, 1) \ 396 F(HasFixedFloat32Elements, 1, 1) \
396 F(HasFixedFloat64Elements, 1, 1) \ 397 F(HasFixedFloat64Elements, 1, 1) \
397 F(HasFastProperties, 1, 1) \ 398 F(HasFastProperties, 1, 1) \
398 F(TransitionElementsKind, 2, 1) \ 399 F(TransitionElementsKind, 2, 1) \
399 F(HaveSameMap, 2, 1) \ 400 F(HaveSameMap, 2, 1) \
400 F(IsAccessCheckNeeded, 1, 1) 401 F(IsJSGlobalProxy, 1, 1)
401 402
402 403
403 #define RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ 404 #define RUNTIME_FUNCTION_LIST_DEBUGGER(F) \
404 /* Debugger support*/ \ 405 /* Debugger support*/ \
405 F(DebugBreak, 0, 1) \ 406 F(DebugBreak, 0, 1) \
406 F(SetDebugEventListener, 2, 1) \ 407 F(SetDebugEventListener, 2, 1) \
407 F(Break, 0, 1) \ 408 F(Break, 0, 1) \
408 F(DebugGetPropertyDetails, 2, 1) \ 409 F(DebugGetPropertyDetails, 2, 1) \
409 F(DebugGetProperty, 2, 1) \ 410 F(DebugGetProperty, 2, 1) \
410 F(DebugPropertyTypeFromDetails, 1, 1) \ 411 F(DebugPropertyTypeFromDetails, 1, 1) \
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
895 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
896 897
897 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
898 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
899 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
900 901
901 } } // namespace v8::internal 902 } } // namespace v8::internal
902 903
903 #endif // V8_RUNTIME_H_ 904 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698