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

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

Issue 1874383002: [wasm] Throw real Error on wasm trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@trapreasons-to-messages
Patch Set: remove a TODO Created 4 years, 8 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/wasm-compiler.cc ('k') | src/runtime/runtime-internal.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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 F(ThrowReferenceError, 1, 1) \ 283 F(ThrowReferenceError, 1, 1) \
284 F(ThrowApplyNonFunction, 1, 1) \ 284 F(ThrowApplyNonFunction, 1, 1) \
285 F(NewTypeError, 2, 1) \ 285 F(NewTypeError, 2, 1) \
286 F(NewSyntaxError, 2, 1) \ 286 F(NewSyntaxError, 2, 1) \
287 F(NewReferenceError, 2, 1) \ 287 F(NewReferenceError, 2, 1) \
288 F(ThrowIllegalInvocation, 0, 1) \ 288 F(ThrowIllegalInvocation, 0, 1) \
289 F(ThrowIncompatibleMethodReceiver, 2, 1) \ 289 F(ThrowIncompatibleMethodReceiver, 2, 1) \
290 F(ThrowIteratorResultNotAnObject, 1, 1) \ 290 F(ThrowIteratorResultNotAnObject, 1, 1) \
291 F(ThrowGeneratorRunning, 0, 1) \ 291 F(ThrowGeneratorRunning, 0, 1) \
292 F(ThrowStackOverflow, 0, 1) \ 292 F(ThrowStackOverflow, 0, 1) \
293 F(ThrowWasmError, 1, 1) \
293 F(PromiseRejectEvent, 3, 1) \ 294 F(PromiseRejectEvent, 3, 1) \
294 F(PromiseRevokeReject, 1, 1) \ 295 F(PromiseRevokeReject, 1, 1) \
295 F(StackGuard, 0, 1) \ 296 F(StackGuard, 0, 1) \
296 F(Interrupt, 0, 1) \ 297 F(Interrupt, 0, 1) \
297 F(AllocateInNewSpace, 1, 1) \ 298 F(AllocateInNewSpace, 1, 1) \
298 F(AllocateInTargetSpace, 2, 1) \ 299 F(AllocateInTargetSpace, 2, 1) \
299 F(CollectStackTrace, 2, 1) \ 300 F(CollectStackTrace, 2, 1) \
300 F(MessageGetStartPosition, 1, 1) \ 301 F(MessageGetStartPosition, 1, 1) \
301 F(MessageGetScript, 1, 1) \ 302 F(MessageGetScript, 1, 1) \
302 F(FormatMessageString, 4, 1) \ 303 F(FormatMessageString, 4, 1) \
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 1184
1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1185 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1186 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1186 STATIC_ASSERT(LANGUAGE_END == 3); 1187 STATIC_ASSERT(LANGUAGE_END == 3);
1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1188 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1188 1189
1189 } // namespace internal 1190 } // namespace internal
1190 } // namespace v8 1191 } // namespace v8
1191 1192
1192 #endif // V8_RUNTIME_RUNTIME_H_ 1193 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698