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

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: Use ObjectHashTable directly 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
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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 F(MapDelete, 2, 1) \ 310 F(MapDelete, 2, 1) \
311 F(MapSet, 3, 1) \ 311 F(MapSet, 3, 1) \
312 \ 312 \
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 /* Object observation */ \
321 F(GetObjectObservationState, 0, 1) \
322 F(CreateObjectHashTable, 0, 1) \
323 F(ObjectHashTableGet, 2, 1) \
324 F(ObjectHashTableSet, 3, 1) \
325 F(ObjectHashTableHas, 2, 1) \
326 \
320 /* Statements */ \ 327 /* Statements */ \
321 F(NewClosure, 3, 1) \ 328 F(NewClosure, 3, 1) \
322 F(NewObject, 1, 1) \ 329 F(NewObject, 1, 1) \
323 F(NewObjectFromBound, 1, 1) \ 330 F(NewObjectFromBound, 1, 1) \
324 F(FinalizeInstanceSize, 1, 1) \ 331 F(FinalizeInstanceSize, 1, 1) \
325 F(Throw, 1, 1) \ 332 F(Throw, 1, 1) \
326 F(ReThrow, 1, 1) \ 333 F(ReThrow, 1, 1) \
327 F(ThrowReferenceError, 1, 1) \ 334 F(ThrowReferenceError, 1, 1) \
328 F(ThrowNotDateError, 0, 1) \ 335 F(ThrowNotDateError, 0, 1) \
329 F(StackGuard, 0, 1) \ 336 F(StackGuard, 0, 1) \
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 //--------------------------------------------------------------------------- 711 //---------------------------------------------------------------------------
705 // Constants used by interface to runtime functions. 712 // Constants used by interface to runtime functions.
706 713
707 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 714 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
708 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 715 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
709 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 716 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
710 717
711 } } // namespace v8::internal 718 } } // namespace v8::internal
712 719
713 #endif // V8_RUNTIME_H_ 720 #endif // V8_RUNTIME_H_
OLDNEW
« src/objects-inl.h ('K') | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698