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

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

Issue 983183002: Intrinsics in the RUNTIME_FUNCTION_LIST are now available with '_', too. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed condition. 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/hydrogen.cc ('k') | src/runtime/runtime.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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 764
765 class JavaScriptFrameIterator; // Forward declaration. 765 class JavaScriptFrameIterator; // Forward declaration.
766 766
767 767
768 class Runtime : public AllStatic { 768 class Runtime : public AllStatic {
769 public: 769 public:
770 enum FunctionId { 770 enum FunctionId {
771 #define F(name, nargs, ressize) k##name, 771 #define F(name, nargs, ressize) k##name,
772 #define I(name, nargs, ressize) kInline##name, 772 #define I(name, nargs, ressize) kInline##name,
773 RUNTIME_FUNCTION_LIST(F) INLINE_FUNCTION_LIST(F) 773 RUNTIME_FUNCTION_LIST(F) INLINE_FUNCTION_LIST(F)
774 INLINE_OPTIMIZED_FUNCTION_LIST(F) INLINE_FUNCTION_LIST(I) 774 INLINE_OPTIMIZED_FUNCTION_LIST(F) RUNTIME_FUNCTION_LIST(I)
775 INLINE_OPTIMIZED_FUNCTION_LIST(I) 775 INLINE_FUNCTION_LIST(I) INLINE_OPTIMIZED_FUNCTION_LIST(I)
776 #undef I 776 #undef I
777 #undef F 777 #undef F
778 kNumFunctions, 778 kNumFunctions,
779 // TODO(svenpanne) The values below are cruel hacks, remove them! 779 // TODO(svenpanne) The values below are cruel hacks, remove them!
780 kFirstInlineFunction = kInlineIsSmi, 780 kFirstInlineFunction = kInlineIsSmi,
781 kLastInlineFunction = kInlineDebugIsActive 781 kLastInlineFunction = kInlineDebugIsActive
782 }; 782 };
783 783
784 enum IntrinsicType { RUNTIME, INLINE }; 784 enum IntrinsicType { RUNTIME, INLINE };
785 785
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 902
903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
905 STATIC_ASSERT(LANGUAGE_END == 3); 905 STATIC_ASSERT(LANGUAGE_END == 3);
906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 906 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
907 907
908 } // namespace internal 908 } // namespace internal
909 } // namespace v8 909 } // namespace v8
910 910
911 #endif // V8_RUNTIME_RUNTIME_H_ 911 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/runtime/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698