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

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

Issue 1879053003: Replace DefineIndexedProperty with %CreateDataProperty (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/js/typedarray.js ('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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 F(ToName, 1, 1) \ 432 F(ToName, 1, 1) \
433 F(SameValue, 2, 1) \ 433 F(SameValue, 2, 1) \
434 F(SameValueZero, 2, 1) \ 434 F(SameValueZero, 2, 1) \
435 F(Compare, 3, 1) \ 435 F(Compare, 3, 1) \
436 F(InstanceOf, 2, 1) \ 436 F(InstanceOf, 2, 1) \
437 F(OrdinaryHasInstance, 2, 1) \ 437 F(OrdinaryHasInstance, 2, 1) \
438 F(HasInPrototypeChain, 2, 1) \ 438 F(HasInPrototypeChain, 2, 1) \
439 F(CreateIterResultObject, 2, 1) \ 439 F(CreateIterResultObject, 2, 1) \
440 F(IsAccessCheckNeeded, 1, 1) \ 440 F(IsAccessCheckNeeded, 1, 1) \
441 F(ObjectDefineProperties, 2, 1) \ 441 F(ObjectDefineProperties, 2, 1) \
442 F(ObjectDefineProperty, 3, 1) 442 F(ObjectDefineProperty, 3, 1) \
443 F(CreateDataProperty, 3, 1)
443 444
444 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ 445 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
445 F(IsObserved, 1, 1) \ 446 F(IsObserved, 1, 1) \
446 F(SetIsObserved, 1, 1) \ 447 F(SetIsObserved, 1, 1) \
447 F(EnqueueMicrotask, 1, 1) \ 448 F(EnqueueMicrotask, 1, 1) \
448 F(RunMicrotasks, 0, 1) \ 449 F(RunMicrotasks, 0, 1) \
449 F(DeliverObservationChangeRecords, 2, 1) \ 450 F(DeliverObservationChangeRecords, 2, 1) \
450 F(GetObservationState, 0, 1) \ 451 F(GetObservationState, 0, 1) \
451 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ 452 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
452 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \ 453 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 1178
1178 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1179 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1179 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1180 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1180 STATIC_ASSERT(LANGUAGE_END == 3); 1181 STATIC_ASSERT(LANGUAGE_END == 3);
1181 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1182 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1182 1183
1183 } // namespace internal 1184 } // namespace internal
1184 } // namespace v8 1185 } // namespace v8
1185 1186
1186 #endif // V8_RUNTIME_RUNTIME_H_ 1187 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/typedarray.js ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698