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

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

Issue 1695743003: [builtins] Support SameValue and SameValueZero via runtime functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 F(ToPrimitive, 1, 1) \ 463 F(ToPrimitive, 1, 1) \
464 F(ToPrimitive_Number, 1, 1) \ 464 F(ToPrimitive_Number, 1, 1) \
465 F(ToPrimitive_String, 1, 1) \ 465 F(ToPrimitive_String, 1, 1) \
466 F(ToNumber, 1, 1) \ 466 F(ToNumber, 1, 1) \
467 F(ToInteger, 1, 1) \ 467 F(ToInteger, 1, 1) \
468 F(ToLength, 1, 1) \ 468 F(ToLength, 1, 1) \
469 F(ToString, 1, 1) \ 469 F(ToString, 1, 1) \
470 F(ToName, 1, 1) \ 470 F(ToName, 1, 1) \
471 F(Equals, 2, 1) \ 471 F(Equals, 2, 1) \
472 F(StrictEquals, 2, 1) \ 472 F(StrictEquals, 2, 1) \
473 F(SameValue, 2, 1) \
474 F(SameValueZero, 2, 1) \
473 F(Compare, 3, 1) \ 475 F(Compare, 3, 1) \
474 F(Compare_Strong, 3, 1) \ 476 F(Compare_Strong, 3, 1) \
475 F(InstanceOf, 2, 1) \ 477 F(InstanceOf, 2, 1) \
476 F(HasInPrototypeChain, 2, 1) \ 478 F(HasInPrototypeChain, 2, 1) \
477 F(CreateIterResultObject, 2, 1) \ 479 F(CreateIterResultObject, 2, 1) \
478 F(IsAccessCheckNeeded, 1, 1) \ 480 F(IsAccessCheckNeeded, 1, 1) \
479 F(ObjectDefineProperties, 2, 1) \ 481 F(ObjectDefineProperties, 2, 1) \
480 F(ObjectDefineProperty, 3, 1) 482 F(ObjectDefineProperty, 3, 1)
481 483
482 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ 484 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 F(PushModuleContext, 2, 1) \ 561 F(PushModuleContext, 2, 1) \
560 F(DeclareModules, 1, 1) \ 562 F(DeclareModules, 1, 1) \
561 F(DeleteLookupSlot, 1, 1) \ 563 F(DeleteLookupSlot, 1, 1) \
562 F(LoadLookupSlot, 1, 1) \ 564 F(LoadLookupSlot, 1, 1) \
563 F(LoadLookupSlotInsideTypeof, 1, 1) \ 565 F(LoadLookupSlotInsideTypeof, 1, 1) \
564 F(StoreLookupSlot_Sloppy, 2, 1) \ 566 F(StoreLookupSlot_Sloppy, 2, 1) \
565 F(StoreLookupSlot_Strict, 2, 1) 567 F(StoreLookupSlot_Strict, 2, 1)
566 568
567 #define FOR_EACH_INTRINSIC_SIMD(F) \ 569 #define FOR_EACH_INTRINSIC_SIMD(F) \
568 F(IsSimdValue, 1, 1) \ 570 F(IsSimdValue, 1, 1) \
569 F(SimdSameValue, 2, 1) \
570 F(SimdSameValueZero, 2, 1) \
571 F(CreateFloat32x4, 4, 1) \ 571 F(CreateFloat32x4, 4, 1) \
572 F(CreateInt32x4, 4, 1) \ 572 F(CreateInt32x4, 4, 1) \
573 F(CreateUint32x4, 4, 1) \ 573 F(CreateUint32x4, 4, 1) \
574 F(CreateBool32x4, 4, 1) \ 574 F(CreateBool32x4, 4, 1) \
575 F(CreateInt16x8, 8, 1) \ 575 F(CreateInt16x8, 8, 1) \
576 F(CreateUint16x8, 8, 1) \ 576 F(CreateUint16x8, 8, 1) \
577 F(CreateBool16x8, 8, 1) \ 577 F(CreateBool16x8, 8, 1) \
578 F(CreateInt8x16, 16, 1) \ 578 F(CreateInt8x16, 16, 1) \
579 F(CreateUint8x16, 16, 1) \ 579 F(CreateUint8x16, 16, 1) \
580 F(CreateBool8x16, 16, 1) \ 580 F(CreateBool8x16, 16, 1) \
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 1225
1226 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1226 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1227 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1227 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1228 STATIC_ASSERT(LANGUAGE_END == 3); 1228 STATIC_ASSERT(LANGUAGE_END == 3);
1229 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1229 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1230 1230
1231 } // namespace internal 1231 } // namespace internal
1232 } // namespace v8 1232 } // namespace v8
1233 1233
1234 #endif // V8_RUNTIME_RUNTIME_H_ 1234 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698