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

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

Issue 1139773005: [destructuring] More tests for object literal pattern (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More tests + fixed a bug Created 5 years, 7 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
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/zone.h" 10 #include "src/zone.h"
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 F(JSValueGetValue, 1, 1) \ 448 F(JSValueGetValue, 1, 1) \
449 F(HeapObjectGetMap, 1, 1) \ 449 F(HeapObjectGetMap, 1, 1) \
450 F(MapGetInstanceType, 1, 1) \ 450 F(MapGetInstanceType, 1, 1) \
451 F(ObjectEquals, 2, 1) \ 451 F(ObjectEquals, 2, 1) \
452 F(IsObject, 1, 1) \ 452 F(IsObject, 1, 1) \
453 F(IsUndetectableObject, 1, 1) \ 453 F(IsUndetectableObject, 1, 1) \
454 F(IsSpecObject, 1, 1) \ 454 F(IsSpecObject, 1, 1) \
455 F(IsStrong, 1, 1) \ 455 F(IsStrong, 1, 1) \
456 F(ClassOf, 1, 1) \ 456 F(ClassOf, 1, 1) \
457 F(DefineGetterPropertyUnchecked, 4, 1) \ 457 F(DefineGetterPropertyUnchecked, 4, 1) \
458 F(DefineSetterPropertyUnchecked, 4, 1) 458 F(DefineSetterPropertyUnchecked, 4, 1) \
459 F(ThrowNonCoercible, 0, 1)
459 460
460 461
461 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ 462 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
462 F(IsObserved, 1, 1) \ 463 F(IsObserved, 1, 1) \
463 F(SetIsObserved, 1, 1) \ 464 F(SetIsObserved, 1, 1) \
464 F(EnqueueMicrotask, 1, 1) \ 465 F(EnqueueMicrotask, 1, 1) \
465 F(RunMicrotasks, 0, 1) \ 466 F(RunMicrotasks, 0, 1) \
466 F(DeliverObservationChangeRecords, 2, 1) \ 467 F(DeliverObservationChangeRecords, 2, 1) \
467 F(GetObservationState, 0, 1) \ 468 F(GetObservationState, 0, 1) \
468 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ 469 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 873
873 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 874 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
874 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 875 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
875 STATIC_ASSERT(LANGUAGE_END == 3); 876 STATIC_ASSERT(LANGUAGE_END == 3);
876 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 877 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
877 878
878 } // namespace internal 879 } // namespace internal
879 } // namespace v8 880 } // namespace v8
880 881
881 #endif // V8_RUNTIME_RUNTIME_H_ 882 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698