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

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

Issue 1298603002: [runtime] Unify and fix the strict equality comparison. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 F(JSValueGetValue, 1, 1) \ 485 F(JSValueGetValue, 1, 1) \
486 F(HeapObjectGetMap, 1, 1) \ 486 F(HeapObjectGetMap, 1, 1) \
487 F(MapGetInstanceType, 1, 1) \ 487 F(MapGetInstanceType, 1, 1) \
488 F(ObjectEquals, 2, 1) \ 488 F(ObjectEquals, 2, 1) \
489 F(IsObject, 1, 1) \ 489 F(IsObject, 1, 1) \
490 F(IsSpecObject, 1, 1) \ 490 F(IsSpecObject, 1, 1) \
491 F(IsStrong, 1, 1) \ 491 F(IsStrong, 1, 1) \
492 F(ClassOf, 1, 1) \ 492 F(ClassOf, 1, 1) \
493 F(DefineGetterPropertyUnchecked, 4, 1) \ 493 F(DefineGetterPropertyUnchecked, 4, 1) \
494 F(DefineSetterPropertyUnchecked, 4, 1) \ 494 F(DefineSetterPropertyUnchecked, 4, 1) \
495 F(ToObject, 1, 1) 495 F(ToObject, 1, 1) \
496 F(StrictEquals, 2, 1)
496 497
497 498
498 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ 499 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
499 F(IsObserved, 1, 1) \ 500 F(IsObserved, 1, 1) \
500 F(SetIsObserved, 1, 1) \ 501 F(SetIsObserved, 1, 1) \
501 F(EnqueueMicrotask, 1, 1) \ 502 F(EnqueueMicrotask, 1, 1) \
502 F(RunMicrotasks, 0, 1) \ 503 F(RunMicrotasks, 0, 1) \
503 F(DeliverObservationChangeRecords, 2, 1) \ 504 F(DeliverObservationChangeRecords, 2, 1) \
504 F(GetObservationState, 0, 1) \ 505 F(GetObservationState, 0, 1) \
505 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ 506 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 1137 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
1137 return size == 1 || size == 2 || size == 4; 1138 return size == 1 || size == 2 || size == 4;
1138 } 1139 }
1139 1140
1140 #endif 1141 #endif
1141 1142
1142 } // namespace internal 1143 } // namespace internal
1143 } // namespace v8 1144 } // namespace v8
1144 1145
1145 #endif // V8_RUNTIME_RUNTIME_H_ 1146 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/api.cc ('K') | « src/runtime.js ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698