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

Side by Side Diff: src/runtime.h

Issue 18221006: Add map transition for observed objects (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: cleanup Created 7 years, 5 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
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 \ 344 \
345 /* Harmony weakmaps */ \ 345 /* Harmony weakmaps */ \
346 F(WeakMapInitialize, 1, 1) \ 346 F(WeakMapInitialize, 1, 1) \
347 F(WeakMapGet, 2, 1) \ 347 F(WeakMapGet, 2, 1) \
348 F(WeakMapHas, 2, 1) \ 348 F(WeakMapHas, 2, 1) \
349 F(WeakMapDelete, 2, 1) \ 349 F(WeakMapDelete, 2, 1) \
350 F(WeakMapSet, 3, 1) \ 350 F(WeakMapSet, 3, 1) \
351 \ 351 \
352 /* Harmony observe */ \ 352 /* Harmony observe */ \
353 F(IsObserved, 1, 1) \ 353 F(IsObserved, 1, 1) \
354 F(SetIsObserved, 2, 1) \ 354 F(SetIsObserved, 1, 1) \
355 F(SetObserverDeliveryPending, 0, 1) \ 355 F(SetObserverDeliveryPending, 0, 1) \
356 F(GetObservationState, 0, 1) \ 356 F(GetObservationState, 0, 1) \
357 F(ObservationWeakMapCreate, 0, 1) \ 357 F(ObservationWeakMapCreate, 0, 1) \
358 F(UnwrapGlobalProxy, 1, 1) \ 358 F(UnwrapGlobalProxy, 1, 1) \
359 \ 359 \
360 /* Harmony typed arrays */ \ 360 /* Harmony typed arrays */ \
361 F(ArrayBufferInitialize, 2, 1)\ 361 F(ArrayBufferInitialize, 2, 1)\
362 F(ArrayBufferGetByteLength, 1, 1)\ 362 F(ArrayBufferGetByteLength, 1, 1)\
363 F(ArrayBufferSliceImpl, 3, 1) \ 363 F(ArrayBufferSliceImpl, 3, 1) \
364 \ 364 \
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 //--------------------------------------------------------------------------- 811 //---------------------------------------------------------------------------
812 // Constants used by interface to runtime functions. 812 // Constants used by interface to runtime functions.
813 813
814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
817 817
818 } } // namespace v8::internal 818 } } // namespace v8::internal
819 819
820 #endif // V8_RUNTIME_H_ 820 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698