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

Side by Side Diff: src/runtime.h

Issue 11414094: Make Object.observe on the global object functional (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Test with reattaching to a different context 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 F(WeakMapSet, 3, 1) \ 324 F(WeakMapSet, 3, 1) \
325 \ 325 \
326 /* Harmony observe */ \ 326 /* Harmony observe */ \
327 F(IsObserved, 1, 1) \ 327 F(IsObserved, 1, 1) \
328 F(SetIsObserved, 2, 1) \ 328 F(SetIsObserved, 2, 1) \
329 F(SetObserverDeliveryPending, 0, 1) \ 329 F(SetObserverDeliveryPending, 0, 1) \
330 F(GetObservationState, 0, 1) \ 330 F(GetObservationState, 0, 1) \
331 F(CreateObjectHashTable, 0, 1) \ 331 F(CreateObjectHashTable, 0, 1) \
332 F(ObjectHashTableGet, 2, 1) \ 332 F(ObjectHashTableGet, 2, 1) \
333 F(ObjectHashTableSet, 3, 1) \ 333 F(ObjectHashTableSet, 3, 1) \
334 F(ObjectHashTableHas, 2, 1) \
335 \ 334 \
336 /* Statements */ \ 335 /* Statements */ \
337 F(NewClosure, 3, 1) \ 336 F(NewClosure, 3, 1) \
338 F(NewObject, 1, 1) \ 337 F(NewObject, 1, 1) \
339 F(NewObjectFromBound, 1, 1) \ 338 F(NewObjectFromBound, 1, 1) \
340 F(FinalizeInstanceSize, 1, 1) \ 339 F(FinalizeInstanceSize, 1, 1) \
341 F(Throw, 1, 1) \ 340 F(Throw, 1, 1) \
342 F(ReThrow, 1, 1) \ 341 F(ReThrow, 1, 1) \
343 F(ThrowReferenceError, 1, 1) \ 342 F(ThrowReferenceError, 1, 1) \
344 F(ThrowNotDateError, 0, 1) \ 343 F(ThrowNotDateError, 0, 1) \
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 //--------------------------------------------------------------------------- 716 //---------------------------------------------------------------------------
718 // Constants used by interface to runtime functions. 717 // Constants used by interface to runtime functions.
719 718
720 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 719 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
721 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 720 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
722 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 721 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
723 722
724 } } // namespace v8::internal 723 } } // namespace v8::internal
725 724
726 #endif // V8_RUNTIME_H_ 725 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | test/cctest/test-object-observe.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698