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

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: Add test for attaching via Context::New Created 8 years 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.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 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 //--------------------------------------------------------------------------- 717 //---------------------------------------------------------------------------
719 // Constants used by interface to runtime functions. 718 // Constants used by interface to runtime functions.
720 719
721 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 720 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
722 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 721 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
723 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 722 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
724 723
725 } } // namespace v8::internal 724 } } // namespace v8::internal
726 725
727 #endif // V8_RUNTIME_H_ 726 #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