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

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

Issue 2142933003: Move Error methods to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handle exception in GetProperty Created 4 years, 5 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/messages.js ('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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 F(ThrowWasmError, 2, 1) \ 300 F(ThrowWasmError, 2, 1) \
301 F(JITSingleFunction, -1 /* >= 7 */, 1) \ 301 F(JITSingleFunction, -1 /* >= 7 */, 1) \
302 F(PromiseRejectEvent, 3, 1) \ 302 F(PromiseRejectEvent, 3, 1) \
303 F(PromiseRevokeReject, 1, 1) \ 303 F(PromiseRevokeReject, 1, 1) \
304 F(StackGuard, 0, 1) \ 304 F(StackGuard, 0, 1) \
305 F(Interrupt, 0, 1) \ 305 F(Interrupt, 0, 1) \
306 F(AllocateInNewSpace, 1, 1) \ 306 F(AllocateInNewSpace, 1, 1) \
307 F(AllocateInTargetSpace, 2, 1) \ 307 F(AllocateInTargetSpace, 2, 1) \
308 F(AllocateSeqOneByteString, 1, 1) \ 308 F(AllocateSeqOneByteString, 1, 1) \
309 F(AllocateSeqTwoByteString, 1, 1) \ 309 F(AllocateSeqTwoByteString, 1, 1) \
310 F(CollectStackTrace, 2, 1) \
311 F(MessageGetStartPosition, 1, 1) \ 310 F(MessageGetStartPosition, 1, 1) \
312 F(MessageGetScript, 1, 1) \ 311 F(MessageGetScript, 1, 1) \
313 F(FormatMessageString, 4, 1) \ 312 F(FormatMessageString, 4, 1) \
314 F(CallSiteGetFileNameRT, 1, 1) \ 313 F(CallSiteGetFileNameRT, 1, 1) \
315 F(CallSiteGetFunctionNameRT, 1, 1) \ 314 F(CallSiteGetFunctionNameRT, 1, 1) \
316 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \ 315 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \
317 F(CallSiteGetMethodNameRT, 1, 1) \ 316 F(CallSiteGetMethodNameRT, 1, 1) \
318 F(CallSiteGetLineNumberRT, 1, 1) \ 317 F(CallSiteGetLineNumberRT, 1, 1) \
319 F(CallSiteGetColumnNumberRT, 1, 1) \ 318 F(CallSiteGetColumnNumberRT, 1, 1) \
320 F(CallSiteIsNativeRT, 1, 1) \ 319 F(CallSiteIsNativeRT, 1, 1) \
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 1133
1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1134 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1135 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1137 STATIC_ASSERT(LANGUAGE_END == 3); 1136 STATIC_ASSERT(LANGUAGE_END == 3);
1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1137 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1139 1138
1140 } // namespace internal 1139 } // namespace internal
1141 } // namespace v8 1140 } // namespace v8
1142 1141
1143 #endif // V8_RUNTIME_RUNTIME_H_ 1142 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/messages.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698