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

Side by Side Diff: src/runtime/runtime.h

Issue 1368753003: Add C++ implementation of Object.defineProperties (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: make compilers happy Created 5 years, 2 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/property-descriptor.cc ('k') | src/runtime/runtime-object.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 F(ToLength, 1, 1) \ 488 F(ToLength, 1, 1) \
489 F(ToString, 1, 1) \ 489 F(ToString, 1, 1) \
490 F(ToName, 1, 1) \ 490 F(ToName, 1, 1) \
491 F(Equals, 2, 1) \ 491 F(Equals, 2, 1) \
492 F(StrictEquals, 2, 1) \ 492 F(StrictEquals, 2, 1) \
493 F(Compare, 3, 1) \ 493 F(Compare, 3, 1) \
494 F(Compare_Strong, 3, 1) \ 494 F(Compare_Strong, 3, 1) \
495 F(InstanceOf, 2, 1) \ 495 F(InstanceOf, 2, 1) \
496 F(HasInPrototypeChain, 2, 1) \ 496 F(HasInPrototypeChain, 2, 1) \
497 F(CreateIterResultObject, 2, 1) \ 497 F(CreateIterResultObject, 2, 1) \
498 F(IsAccessCheckNeeded, 1, 1) 498 F(IsAccessCheckNeeded, 1, 1) \
499 F(ObjectDefineProperties, 2, 1) \
500 F(ObjectDefineProperty, 3, 1)
499 501
500 502
501 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ 503 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
502 F(IsObserved, 1, 1) \ 504 F(IsObserved, 1, 1) \
503 F(SetIsObserved, 1, 1) \ 505 F(SetIsObserved, 1, 1) \
504 F(EnqueueMicrotask, 1, 1) \ 506 F(EnqueueMicrotask, 1, 1) \
505 F(RunMicrotasks, 0, 1) \ 507 F(RunMicrotasks, 0, 1) \
506 F(DeliverObservationChangeRecords, 2, 1) \ 508 F(DeliverObservationChangeRecords, 2, 1) \
507 F(GetObservationState, 0, 1) \ 509 F(GetObservationState, 0, 1) \
508 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ 510 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 1241
1240 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1242 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1241 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1243 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1242 STATIC_ASSERT(LANGUAGE_END == 3); 1244 STATIC_ASSERT(LANGUAGE_END == 3);
1243 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1245 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1244 1246
1245 } // namespace internal 1247 } // namespace internal
1246 } // namespace v8 1248 } // namespace v8
1247 1249
1248 #endif // V8_RUNTIME_RUNTIME_H_ 1250 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/property-descriptor.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698