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

Side by Side Diff: src/runtime.h

Issue 11274014: Store Object.observe state per-isolate rather than per-context (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added back runtime asserts Created 8 years, 1 month 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-inl.h ('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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 /* Harmony weakmaps */ \ 313 /* Harmony weakmaps */ \
314 F(WeakMapInitialize, 1, 1) \ 314 F(WeakMapInitialize, 1, 1) \
315 F(WeakMapGet, 2, 1) \ 315 F(WeakMapGet, 2, 1) \
316 F(WeakMapHas, 2, 1) \ 316 F(WeakMapHas, 2, 1) \
317 F(WeakMapDelete, 2, 1) \ 317 F(WeakMapDelete, 2, 1) \
318 F(WeakMapSet, 3, 1) \ 318 F(WeakMapSet, 3, 1) \
319 \ 319 \
320 /* Harmony observe */ \ 320 /* Harmony observe */ \
321 F(IsObserved, 1, 1) \ 321 F(IsObserved, 1, 1) \
322 F(SetIsObserved, 2, 1) \ 322 F(SetIsObserved, 2, 1) \
323 F(GetObservationState, 0, 1) \
324 F(CreateObjectHashTable, 0, 1) \
325 F(ObjectHashTableGet, 2, 1) \
326 F(ObjectHashTableSet, 3, 1) \
327 F(ObjectHashTableHas, 2, 1) \
323 \ 328 \
324 /* Statements */ \ 329 /* Statements */ \
325 F(NewClosure, 3, 1) \ 330 F(NewClosure, 3, 1) \
326 F(NewObject, 1, 1) \ 331 F(NewObject, 1, 1) \
327 F(NewObjectFromBound, 1, 1) \ 332 F(NewObjectFromBound, 1, 1) \
328 F(FinalizeInstanceSize, 1, 1) \ 333 F(FinalizeInstanceSize, 1, 1) \
329 F(Throw, 1, 1) \ 334 F(Throw, 1, 1) \
330 F(ReThrow, 1, 1) \ 335 F(ReThrow, 1, 1) \
331 F(ThrowReferenceError, 1, 1) \ 336 F(ThrowReferenceError, 1, 1) \
332 F(ThrowNotDateError, 0, 1) \ 337 F(ThrowNotDateError, 0, 1) \
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 //--------------------------------------------------------------------------- 713 //---------------------------------------------------------------------------
709 // Constants used by interface to runtime functions. 714 // Constants used by interface to runtime functions.
710 715
711 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 716 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
712 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 717 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
713 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 718 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
714 719
715 } } // namespace v8::internal 720 } } // namespace v8::internal
716 721
717 #endif // V8_RUNTIME_H_ 722 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698