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

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

Issue 1523753002: [es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arm port. Small improvements. Created 5 years 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 312 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
313 F(CheckIsBootstrapping, 0, 1) \ 313 F(CheckIsBootstrapping, 0, 1) \
314 F(ExportFromRuntime, 1, 1) \ 314 F(ExportFromRuntime, 1, 1) \
315 F(ExportExperimentalFromRuntime, 1, 1) \ 315 F(ExportExperimentalFromRuntime, 1, 1) \
316 F(InstallToContext, 1, 1) \ 316 F(InstallToContext, 1, 1) \
317 F(Throw, 1, 1) \ 317 F(Throw, 1, 1) \
318 F(ReThrow, 1, 1) \ 318 F(ReThrow, 1, 1) \
319 F(UnwindAndFindExceptionHandler, 0, 1) \ 319 F(UnwindAndFindExceptionHandler, 0, 1) \
320 F(PromoteScheduledException, 0, 1) \ 320 F(PromoteScheduledException, 0, 1) \
321 F(ThrowReferenceError, 1, 1) \ 321 F(ThrowReferenceError, 1, 1) \
322 F(ThrowApplyNonFunction, 1, 1) \
322 F(NewTypeError, 2, 1) \ 323 F(NewTypeError, 2, 1) \
323 F(NewSyntaxError, 2, 1) \ 324 F(NewSyntaxError, 2, 1) \
324 F(NewReferenceError, 2, 1) \ 325 F(NewReferenceError, 2, 1) \
325 F(ThrowIllegalInvocation, 0, 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) \
(...skipping 10 matching lines...) Expand all
342 F(CallSiteGetMethodNameRT, 1, 1) \ 343 F(CallSiteGetMethodNameRT, 1, 1) \
343 F(CallSiteGetLineNumberRT, 1, 1) \ 344 F(CallSiteGetLineNumberRT, 1, 1) \
344 F(CallSiteGetColumnNumberRT, 1, 1) \ 345 F(CallSiteGetColumnNumberRT, 1, 1) \
345 F(CallSiteIsNativeRT, 1, 1) \ 346 F(CallSiteIsNativeRT, 1, 1) \
346 F(CallSiteIsToplevelRT, 1, 1) \ 347 F(CallSiteIsToplevelRT, 1, 1) \
347 F(CallSiteIsEvalRT, 1, 1) \ 348 F(CallSiteIsEvalRT, 1, 1) \
348 F(CallSiteIsConstructorRT, 1, 1) \ 349 F(CallSiteIsConstructorRT, 1, 1) \
349 F(IS_VAR, 1, 1) \ 350 F(IS_VAR, 1, 1) \
350 F(IncrementStatsCounter, 1, 1) \ 351 F(IncrementStatsCounter, 1, 1) \
351 F(ThrowConstructedNonConstructable, 1, 1) \ 352 F(ThrowConstructedNonConstructable, 1, 1) \
352 F(ThrowCalledNonCallable, 1, 1) 353 F(ThrowCalledNonCallable, 1, 1) \
354 F(CreateListFromArrayLike, 1, 1)
353 355
354 356
355 #define FOR_EACH_INTRINSIC_JSON(F) \ 357 #define FOR_EACH_INTRINSIC_JSON(F) \
356 F(QuoteJSONString, 1, 1) \ 358 F(QuoteJSONString, 1, 1) \
357 F(BasicJSONStringify, 1, 1) \ 359 F(BasicJSONStringify, 1, 1) \
358 F(ParseJson, 1, 1) 360 F(ParseJson, 1, 1)
359 361
360 362
361 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 363 #define FOR_EACH_INTRINSIC_LITERALS(F) \
362 F(CreateRegExpLiteral, 4, 1) \ 364 F(CreateRegExpLiteral, 4, 1) \
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 1253
1252 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1254 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1253 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1255 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1254 STATIC_ASSERT(LANGUAGE_END == 3); 1256 STATIC_ASSERT(LANGUAGE_END == 3);
1255 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1257 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1256 1258
1257 } // namespace internal 1259 } // namespace internal
1258 } // namespace v8 1260 } // namespace v8
1259 1261
1260 #endif // V8_RUNTIME_RUNTIME_H_ 1262 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/bootstrapper.cc ('K') | « src/objects.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698