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

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

Issue 1407313004: Adds the possibility of setting a Code object as the callback of a FunctionTemplate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 5 years, 1 month 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
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/unicode.h" 10 #include "src/unicode.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 F(ExportExperimentalFromRuntime, 1, 1) \ 316 F(ExportExperimentalFromRuntime, 1, 1) \
317 F(InstallToContext, 1, 1) \ 317 F(InstallToContext, 1, 1) \
318 F(Throw, 1, 1) \ 318 F(Throw, 1, 1) \
319 F(ReThrow, 1, 1) \ 319 F(ReThrow, 1, 1) \
320 F(UnwindAndFindExceptionHandler, 0, 1) \ 320 F(UnwindAndFindExceptionHandler, 0, 1) \
321 F(PromoteScheduledException, 0, 1) \ 321 F(PromoteScheduledException, 0, 1) \
322 F(ThrowReferenceError, 1, 1) \ 322 F(ThrowReferenceError, 1, 1) \
323 F(NewTypeError, 2, 1) \ 323 F(NewTypeError, 2, 1) \
324 F(NewSyntaxError, 2, 1) \ 324 F(NewSyntaxError, 2, 1) \
325 F(NewReferenceError, 2, 1) \ 325 F(NewReferenceError, 2, 1) \
326 F(ThrowIllegalInvocation, 0, 1) \
326 F(ThrowIteratorResultNotAnObject, 1, 1) \ 327 F(ThrowIteratorResultNotAnObject, 1, 1) \
327 F(ThrowStackOverflow, 0, 1) \ 328 F(ThrowStackOverflow, 0, 1) \
328 F(ThrowStrongModeImplicitConversion, 0, 1) \ 329 F(ThrowStrongModeImplicitConversion, 0, 1) \
329 F(PromiseRejectEvent, 3, 1) \ 330 F(PromiseRejectEvent, 3, 1) \
330 F(PromiseRevokeReject, 1, 1) \ 331 F(PromiseRevokeReject, 1, 1) \
331 F(StackGuard, 0, 1) \ 332 F(StackGuard, 0, 1) \
332 F(Interrupt, 0, 1) \ 333 F(Interrupt, 0, 1) \
333 F(AllocateInNewSpace, 1, 1) \ 334 F(AllocateInNewSpace, 1, 1) \
334 F(AllocateInTargetSpace, 2, 1) \ 335 F(AllocateInTargetSpace, 2, 1) \
335 F(CollectStackTrace, 2, 1) \ 336 F(CollectStackTrace, 2, 1) \
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 1259
1259 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1260 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1260 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1261 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1261 STATIC_ASSERT(LANGUAGE_END == 3); 1262 STATIC_ASSERT(LANGUAGE_END == 3);
1262 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1263 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1263 1264
1264 } // namespace internal 1265 } // namespace internal
1265 } // namespace v8 1266 } // namespace v8
1266 1267
1267 #endif // V8_RUNTIME_RUNTIME_H_ 1268 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698