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

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

Issue 2206183002: Move ErrorToString to runtime (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@port-no-sideeffect-to-string
Patch Set: Rebase Created 4 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
« no previous file with comments | « src/js/prologue.js ('k') | src/runtime/runtime-error.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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ 191 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
192 F(DebugRecordAsyncFunction, 1, 1) \ 192 F(DebugRecordAsyncFunction, 1, 1) \
193 F(DebugPushPromise, 1, 1) \ 193 F(DebugPushPromise, 1, 1) \
194 F(DebugPopPromise, 0, 1) \ 194 F(DebugPopPromise, 0, 1) \
195 F(DebugAsyncTaskEvent, 1, 1) \ 195 F(DebugAsyncTaskEvent, 1, 1) \
196 F(DebugIsActive, 0, 1) \ 196 F(DebugIsActive, 0, 1) \
197 F(DebugBreakInOptimizedCode, 0, 1) \ 197 F(DebugBreakInOptimizedCode, 0, 1) \
198 F(GetWasmFunctionOffsetTable, 1, 1) \ 198 F(GetWasmFunctionOffsetTable, 1, 1) \
199 F(DisassembleWasmFunction, 1, 1) 199 F(DisassembleWasmFunction, 1, 1)
200 200
201 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1)
202
201 #define FOR_EACH_INTRINSIC_FORIN(F) \ 203 #define FOR_EACH_INTRINSIC_FORIN(F) \
202 F(ForInDone, 2, 1) \ 204 F(ForInDone, 2, 1) \
203 F(ForInEnumerate, 1, 1) \ 205 F(ForInEnumerate, 1, 1) \
204 F(ForInFilter, 2, 1) \ 206 F(ForInFilter, 2, 1) \
205 F(ForInHasProperty, 2, 1) \ 207 F(ForInHasProperty, 2, 1) \
206 F(ForInNext, 4, 1) \ 208 F(ForInNext, 4, 1) \
207 F(ForInStep, 1, 1) 209 F(ForInStep, 1, 1)
208 210
209 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ 211 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \
210 F(InterpreterNewClosure, 2, 1) \ 212 F(InterpreterNewClosure, 2, 1) \
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 953
952 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ 954 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \
953 FOR_EACH_INTRINSIC_IC(F) \ 955 FOR_EACH_INTRINSIC_IC(F) \
954 FOR_EACH_INTRINSIC_ARRAY(F) \ 956 FOR_EACH_INTRINSIC_ARRAY(F) \
955 FOR_EACH_INTRINSIC_ATOMICS(F) \ 957 FOR_EACH_INTRINSIC_ATOMICS(F) \
956 FOR_EACH_INTRINSIC_CLASSES(F) \ 958 FOR_EACH_INTRINSIC_CLASSES(F) \
957 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ 959 FOR_EACH_INTRINSIC_COLLECTIONS(F) \
958 FOR_EACH_INTRINSIC_COMPILER(F) \ 960 FOR_EACH_INTRINSIC_COMPILER(F) \
959 FOR_EACH_INTRINSIC_DATE(F) \ 961 FOR_EACH_INTRINSIC_DATE(F) \
960 FOR_EACH_INTRINSIC_DEBUG(F) \ 962 FOR_EACH_INTRINSIC_DEBUG(F) \
963 FOR_EACH_INTRINSIC_ERROR(F) \
961 FOR_EACH_INTRINSIC_FORIN(F) \ 964 FOR_EACH_INTRINSIC_FORIN(F) \
962 FOR_EACH_INTRINSIC_INTERPRETER(F) \ 965 FOR_EACH_INTRINSIC_INTERPRETER(F) \
963 FOR_EACH_INTRINSIC_FUNCTION(F) \ 966 FOR_EACH_INTRINSIC_FUNCTION(F) \
964 FOR_EACH_INTRINSIC_GENERATOR(F) \ 967 FOR_EACH_INTRINSIC_GENERATOR(F) \
965 FOR_EACH_INTRINSIC_I18N(F) \ 968 FOR_EACH_INTRINSIC_I18N(F) \
966 FOR_EACH_INTRINSIC_INTERNAL(F) \ 969 FOR_EACH_INTRINSIC_INTERNAL(F) \
967 FOR_EACH_INTRINSIC_LITERALS(F) \ 970 FOR_EACH_INTRINSIC_LITERALS(F) \
968 FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 971 FOR_EACH_INTRINSIC_LIVEEDIT(F) \
969 FOR_EACH_INTRINSIC_MATHS(F) \ 972 FOR_EACH_INTRINSIC_MATHS(F) \
970 FOR_EACH_INTRINSIC_NUMBERS(F) \ 973 FOR_EACH_INTRINSIC_NUMBERS(F) \
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 1129
1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1129 STATIC_ASSERT(LANGUAGE_END == 3); 1132 STATIC_ASSERT(LANGUAGE_END == 3);
1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1131 1134
1132 } // namespace internal 1135 } // namespace internal
1133 } // namespace v8 1136 } // namespace v8
1134 1137
1135 #endif // V8_RUNTIME_RUNTIME_H_ 1138 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/prologue.js ('k') | src/runtime/runtime-error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698