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

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

Issue 1010973010: Added %_HeapObjectGetMap and %_MapGetInstanceType intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Renamed Created 5 years, 9 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/compiler/js-intrinsic-lowering.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/zone.h" 10 #include "src/zone.h"
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 F(SetDelete, 2, 1) \ 711 F(SetDelete, 2, 1) \
712 F(SetGetSize, 1, 1) \ 712 F(SetGetSize, 1, 1) \
713 F(SetHas, 2, 1) \ 713 F(SetHas, 2, 1) \
714 F(SetInitialize, 1, 1) \ 714 F(SetInitialize, 1, 1) \
715 /* Arrays */ \ 715 /* Arrays */ \
716 F(HasFastPackedElements, 1, 1) \ 716 F(HasFastPackedElements, 1, 1) \
717 F(GetPrototype, 1, 1) \ 717 F(GetPrototype, 1, 1) \
718 /* Strings */ \ 718 /* Strings */ \
719 F(StringGetLength, 1, 1) \ 719 F(StringGetLength, 1, 1) \
720 /* JSValue */ \ 720 /* JSValue */ \
721 F(JSValueGetValue, 1, 1) 721 F(JSValueGetValue, 1, 1) \
722 /* HeapObject */ \
723 F(HeapObjectGetMap, 1, 1) \
724 /* Map */ \
725 F(MapGetInstanceType, 1, 1)
722 726
723 727
724 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ 728 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \
725 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ 729 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
726 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 730 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
727 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ 731 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \
728 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ 732 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \
729 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ 733 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \
730 INLINE_FUNCTION_LIST(F) \ 734 INLINE_FUNCTION_LIST(F) \
731 INLINE_OPTIMIZED_FUNCTION_LIST(F) 735 INLINE_OPTIMIZED_FUNCTION_LIST(F)
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 902
899 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
900 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
901 STATIC_ASSERT(LANGUAGE_END == 3); 905 STATIC_ASSERT(LANGUAGE_END == 3);
902 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
903 907
904 } // namespace internal 908 } // namespace internal
905 } // namespace v8 909 } // namespace v8
906 910
907 #endif // V8_RUNTIME_RUNTIME_H_ 911 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698