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

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

Issue 1670133002: [es6] Further fixing of tail Calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tail call tracing added 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
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/runtime/runtime-test.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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 912
913 913
914 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ 914 #define FOR_EACH_INTRINSIC_SYMBOL(F) \
915 F(CreateSymbol, 1, 1) \ 915 F(CreateSymbol, 1, 1) \
916 F(CreatePrivateSymbol, 1, 1) \ 916 F(CreatePrivateSymbol, 1, 1) \
917 F(SymbolDescription, 1, 1) \ 917 F(SymbolDescription, 1, 1) \
918 F(SymbolDescriptiveString, 1, 1) \ 918 F(SymbolDescriptiveString, 1, 1) \
919 F(SymbolRegistry, 0, 1) \ 919 F(SymbolRegistry, 0, 1) \
920 F(SymbolIsPrivate, 1, 1) 920 F(SymbolIsPrivate, 1, 1)
921 921
922
923 #define FOR_EACH_INTRINSIC_TEST(F) \ 922 #define FOR_EACH_INTRINSIC_TEST(F) \
924 F(DeoptimizeFunction, 1, 1) \ 923 F(DeoptimizeFunction, 1, 1) \
925 F(DeoptimizeNow, 0, 1) \ 924 F(DeoptimizeNow, 0, 1) \
926 F(RunningInSimulator, 0, 1) \ 925 F(RunningInSimulator, 0, 1) \
927 F(IsConcurrentRecompilationSupported, 0, 1) \ 926 F(IsConcurrentRecompilationSupported, 0, 1) \
928 F(OptimizeFunctionOnNextCall, -1, 1) \ 927 F(OptimizeFunctionOnNextCall, -1, 1) \
929 F(OptimizeOsr, -1, 1) \ 928 F(OptimizeOsr, -1, 1) \
930 F(NeverOptimizeFunction, 1, 1) \ 929 F(NeverOptimizeFunction, 1, 1) \
931 F(GetOptimizationStatus, -1, 1) \ 930 F(GetOptimizationStatus, -1, 1) \
932 F(UnblockConcurrentRecompilation, 0, 1) \ 931 F(UnblockConcurrentRecompilation, 0, 1) \
933 F(GetOptimizationCount, 1, 1) \ 932 F(GetOptimizationCount, 1, 1) \
934 F(GetUndetectable, 0, 1) \ 933 F(GetUndetectable, 0, 1) \
935 F(ClearFunctionTypeFeedback, 1, 1) \ 934 F(ClearFunctionTypeFeedback, 1, 1) \
936 F(NotifyContextDisposed, 0, 1) \ 935 F(NotifyContextDisposed, 0, 1) \
937 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ 936 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \
938 F(DebugPrint, 1, 1) \ 937 F(DebugPrint, 1, 1) \
939 F(DebugTrace, 0, 1) \ 938 F(DebugTrace, 0, 1) \
940 F(GlobalPrint, 1, 1) \ 939 F(GlobalPrint, 1, 1) \
941 F(SystemBreak, 0, 1) \ 940 F(SystemBreak, 0, 1) \
942 F(SetFlags, 1, 1) \ 941 F(SetFlags, 1, 1) \
943 F(Abort, 1, 1) \ 942 F(Abort, 1, 1) \
944 F(AbortJS, 1, 1) \ 943 F(AbortJS, 1, 1) \
945 F(NativeScriptsCount, 0, 1) \ 944 F(NativeScriptsCount, 0, 1) \
946 F(GetV8Version, 0, 1) \ 945 F(GetV8Version, 0, 1) \
947 F(DisassembleFunction, 1, 1) \ 946 F(DisassembleFunction, 1, 1) \
948 F(TraceEnter, 0, 1) \ 947 F(TraceEnter, 0, 1) \
949 F(TraceExit, 1, 1) \ 948 F(TraceExit, 1, 1) \
949 F(TraceTailCall, 0, 1) \
950 F(HaveSameMap, 2, 1) \ 950 F(HaveSameMap, 2, 1) \
951 F(InNewSpace, 1, 1) \ 951 F(InNewSpace, 1, 1) \
952 F(HasFastSmiElements, 1, 1) \ 952 F(HasFastSmiElements, 1, 1) \
953 F(HasFastObjectElements, 1, 1) \ 953 F(HasFastObjectElements, 1, 1) \
954 F(HasFastSmiOrObjectElements, 1, 1) \ 954 F(HasFastSmiOrObjectElements, 1, 1) \
955 F(HasFastDoubleElements, 1, 1) \ 955 F(HasFastDoubleElements, 1, 1) \
956 F(HasFastHoleyElements, 1, 1) \ 956 F(HasFastHoleyElements, 1, 1) \
957 F(HasDictionaryElements, 1, 1) \ 957 F(HasDictionaryElements, 1, 1) \
958 F(HasSloppyArgumentsElements, 1, 1) \ 958 F(HasSloppyArgumentsElements, 1, 1) \
959 F(HasFixedTypedArrayElements, 1, 1) \ 959 F(HasFixedTypedArrayElements, 1, 1) \
960 F(HasFastProperties, 1, 1) \ 960 F(HasFastProperties, 1, 1) \
961 F(HasFixedUint8Elements, 1, 1) \ 961 F(HasFixedUint8Elements, 1, 1) \
962 F(HasFixedInt8Elements, 1, 1) \ 962 F(HasFixedInt8Elements, 1, 1) \
963 F(HasFixedUint16Elements, 1, 1) \ 963 F(HasFixedUint16Elements, 1, 1) \
964 F(HasFixedInt16Elements, 1, 1) \ 964 F(HasFixedInt16Elements, 1, 1) \
965 F(HasFixedUint32Elements, 1, 1) \ 965 F(HasFixedUint32Elements, 1, 1) \
966 F(HasFixedInt32Elements, 1, 1) \ 966 F(HasFixedInt32Elements, 1, 1) \
967 F(HasFixedFloat32Elements, 1, 1) \ 967 F(HasFixedFloat32Elements, 1, 1) \
968 F(HasFixedFloat64Elements, 1, 1) \ 968 F(HasFixedFloat64Elements, 1, 1) \
969 F(HasFixedUint8ClampedElements, 1, 1) 969 F(HasFixedUint8ClampedElements, 1, 1)
970 970
971
972 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 971 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
973 F(ArrayBufferGetByteLength, 1, 1) \ 972 F(ArrayBufferGetByteLength, 1, 1) \
974 F(ArrayBufferSliceImpl, 4, 1) \ 973 F(ArrayBufferSliceImpl, 4, 1) \
975 F(ArrayBufferNeuter, 1, 1) \ 974 F(ArrayBufferNeuter, 1, 1) \
976 F(TypedArrayInitialize, 6, 1) \ 975 F(TypedArrayInitialize, 6, 1) \
977 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 976 F(TypedArrayInitializeFromArrayLike, 4, 1) \
978 F(ArrayBufferViewGetByteLength, 1, 1) \ 977 F(ArrayBufferViewGetByteLength, 1, 1) \
979 F(ArrayBufferViewGetByteOffset, 1, 1) \ 978 F(ArrayBufferViewGetByteOffset, 1, 1) \
980 F(TypedArrayGetLength, 1, 1) \ 979 F(TypedArrayGetLength, 1, 1) \
981 F(DataViewGetBuffer, 1, 1) \ 980 F(DataViewGetBuffer, 1, 1) \
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 1253
1255 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1254 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1256 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1255 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1257 STATIC_ASSERT(LANGUAGE_END == 3); 1256 STATIC_ASSERT(LANGUAGE_END == 3);
1258 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1257 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1259 1258
1260 } // namespace internal 1259 } // namespace internal
1261 } // namespace v8 1260 } // namespace v8
1262 1261
1263 #endif // V8_RUNTIME_RUNTIME_H_ 1262 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698