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

Side by Side Diff: src/objects.h

Issue 2259853002: Revert of Replace LANGUAGE_END with LAST_LANGUAGE_MODE (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/ic/ic-state.h ('k') | src/objects.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 4386 matching lines...) Expand 10 before | Expand all | Expand 10 after
4397 VariableLocation* location, InitializationFlag* init_flag, 4397 VariableLocation* location, InitializationFlag* init_flag,
4398 MaybeAssignedFlag* maybe_assigned_flag); 4398 MaybeAssignedFlag* maybe_assigned_flag);
4399 4399
4400 // Used for the function name variable for named function expressions, and for 4400 // Used for the function name variable for named function expressions, and for
4401 // the receiver. 4401 // the receiver.
4402 enum VariableAllocationInfo { NONE, STACK, CONTEXT, UNUSED }; 4402 enum VariableAllocationInfo { NONE, STACK, CONTEXT, UNUSED };
4403 4403
4404 // Properties of scopes. 4404 // Properties of scopes.
4405 class ScopeTypeField : public BitField<ScopeType, 0, 4> {}; 4405 class ScopeTypeField : public BitField<ScopeType, 0, 4> {};
4406 class CallsEvalField : public BitField<bool, ScopeTypeField::kNext, 1> {}; 4406 class CallsEvalField : public BitField<bool, ScopeTypeField::kNext, 1> {};
4407 STATIC_ASSERT(LAST_LANGUAGE_MODE == 1); 4407 STATIC_ASSERT(LANGUAGE_END == 2);
4408 class LanguageModeField 4408 class LanguageModeField
4409 : public BitField<LanguageMode, CallsEvalField::kNext, 1> {}; 4409 : public BitField<LanguageMode, CallsEvalField::kNext, 1> {};
4410 class DeclarationScopeField 4410 class DeclarationScopeField
4411 : public BitField<bool, LanguageModeField::kNext, 1> {}; 4411 : public BitField<bool, LanguageModeField::kNext, 1> {};
4412 class ReceiverVariableField 4412 class ReceiverVariableField
4413 : public BitField<VariableAllocationInfo, DeclarationScopeField::kNext, 4413 : public BitField<VariableAllocationInfo, DeclarationScopeField::kNext,
4414 2> {}; 4414 2> {};
4415 class HasNewTargetField 4415 class HasNewTargetField
4416 : public BitField<bool, ReceiverVariableField::kNext, 1> {}; 4416 : public BitField<bool, ReceiverVariableField::kNext, 1> {};
4417 class FunctionVariableField 4417 class FunctionVariableField
(...skipping 6680 matching lines...) Expand 10 before | Expand all | Expand 10 after
11098 } 11098 }
11099 return value; 11099 return value;
11100 } 11100 }
11101 }; 11101 };
11102 11102
11103 11103
11104 } // NOLINT, false-positive due to second-order macros. 11104 } // NOLINT, false-positive due to second-order macros.
11105 } // NOLINT, false-positive due to second-order macros. 11105 } // NOLINT, false-positive due to second-order macros.
11106 11106
11107 #endif // V8_OBJECTS_H_ 11107 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic/ic-state.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698