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

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

Issue 749633002: harmony-scoping: make assignment to 'const' a late error. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment update Created 6 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
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime/runtime-scopes.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/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 /* Statements */ \ 493 /* Statements */ \
494 F(NewClosure, 3, 1) \ 494 F(NewClosure, 3, 1) \
495 F(NewClosureFromStubFailure, 1, 1) \ 495 F(NewClosureFromStubFailure, 1, 1) \
496 F(NewObject, 1, 1) \ 496 F(NewObject, 1, 1) \
497 F(NewObjectWithAllocationSite, 2, 1) \ 497 F(NewObjectWithAllocationSite, 2, 1) \
498 F(FinalizeInstanceSize, 1, 1) \ 498 F(FinalizeInstanceSize, 1, 1) \
499 F(Throw, 1, 1) \ 499 F(Throw, 1, 1) \
500 F(ReThrow, 1, 1) \ 500 F(ReThrow, 1, 1) \
501 F(ThrowReferenceError, 1, 1) \ 501 F(ThrowReferenceError, 1, 1) \
502 F(ThrowNotDateError, 0, 1) \ 502 F(ThrowNotDateError, 0, 1) \
503 F(ThrowConstAssignError, 0, 1) \
503 F(StackGuard, 0, 1) \ 504 F(StackGuard, 0, 1) \
504 F(Interrupt, 0, 1) \ 505 F(Interrupt, 0, 1) \
505 F(PromoteScheduledException, 0, 1) \ 506 F(PromoteScheduledException, 0, 1) \
506 \ 507 \
507 /* Contexts */ \ 508 /* Contexts */ \
508 F(NewScriptContext, 2, 1) \ 509 F(NewScriptContext, 2, 1) \
509 F(NewFunctionContext, 1, 1) \ 510 F(NewFunctionContext, 1, 1) \
510 F(PushWithContext, 2, 1) \ 511 F(PushWithContext, 2, 1) \
511 F(PushCatchContext, 3, 1) \ 512 F(PushCatchContext, 3, 1) \
512 F(PushBlockContext, 2, 1) \ 513 F(PushBlockContext, 2, 1) \
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 890 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
890 891
891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 892 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 893 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 894 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
894 895
895 } // namespace internal 896 } // namespace internal
896 } // namespace v8 897 } // namespace v8
897 898
898 #endif // V8_RUNTIME_RUNTIME_H_ 899 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698