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

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: better check 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') | 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 \ 345 \
346 /* Harmony weakmaps */ \ 346 /* Harmony weakmaps */ \
347 F(WeakMapInitialize, 1, 1) \ 347 F(WeakMapInitialize, 1, 1) \
348 F(WeakMapGet, 2, 1) \ 348 F(WeakMapGet, 2, 1) \
349 F(WeakMapHas, 2, 1) \ 349 F(WeakMapHas, 2, 1) \
350 F(WeakMapDelete, 2, 1) \ 350 F(WeakMapDelete, 2, 1) \
351 F(WeakMapSet, 3, 1) \ 351 F(WeakMapSet, 3, 1) \
352 \ 352 \
353 /* Harmony observe */ \ 353 /* Harmony observe */ \
354 F(IsObserved, 1, 1) \ 354 F(IsObserved, 1, 1) \
355 F(SetIsObserved, 2, 1) \ 355 F(SetIsObserved, 1, 1) \
356 F(SetObserverDeliveryPending, 0, 1) \ 356 F(SetObserverDeliveryPending, 0, 1) \
357 F(GetObservationState, 0, 1) \ 357 F(GetObservationState, 0, 1) \
358 F(ObservationWeakMapCreate, 0, 1) \ 358 F(ObservationWeakMapCreate, 0, 1) \
359 F(UnwrapGlobalProxy, 1, 1) \ 359 F(UnwrapGlobalProxy, 1, 1) \
360 \ 360 \
361 /* Harmony typed arrays */ \ 361 /* Harmony typed arrays */ \
362 F(ArrayBufferInitialize, 2, 1)\ 362 F(ArrayBufferInitialize, 2, 1)\
363 F(ArrayBufferGetByteLength, 1, 1)\ 363 F(ArrayBufferGetByteLength, 1, 1)\
364 F(ArrayBufferSliceImpl, 3, 1) \ 364 F(ArrayBufferSliceImpl, 3, 1) \
365 \ 365 \
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 //--------------------------------------------------------------------------- 812 //---------------------------------------------------------------------------
813 // Constants used by interface to runtime functions. 813 // Constants used by interface to runtime functions.
814 814
815 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 815 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
816 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 816 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
817 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 817 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
818 818
819 } } // namespace v8::internal 819 } } // namespace v8::internal
820 820
821 #endif // V8_RUNTIME_H_ 821 #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