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

Side by Side Diff: src/objects.h

Issue 988413002: Fix CompilerHints flag order to match FunctionKind. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | 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_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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 7161 matching lines...) Expand 10 before | Expand all | Expand 10 after
7172 kIsAnonymous, 7172 kIsAnonymous,
7173 kNameShouldPrintAsAnonymous, 7173 kNameShouldPrintAsAnonymous,
7174 kIsFunction, 7174 kIsFunction,
7175 kDontCache, 7175 kDontCache,
7176 kDontFlush, 7176 kDontFlush,
7177 kIsArrow, 7177 kIsArrow,
7178 kIsGenerator, 7178 kIsGenerator,
7179 kIsConciseMethod, 7179 kIsConciseMethod,
7180 kIsAccessorFunction, 7180 kIsAccessorFunction,
7181 kIsDefaultConstructor, 7181 kIsDefaultConstructor,
7182 kIsSubclassConstructor,
7182 kIsBaseConstructor, 7183 kIsBaseConstructor,
7183 kIsSubclassConstructor,
7184 kIsAsmFunction, 7184 kIsAsmFunction,
7185 kDeserialized, 7185 kDeserialized,
7186 kCompilerHintsCount // Pseudo entry 7186 kCompilerHintsCount // Pseudo entry
7187 }; 7187 };
7188 // Add hints for other modes when they're added. 7188 // Add hints for other modes when they're added.
7189 STATIC_ASSERT(LANGUAGE_END == 3); 7189 STATIC_ASSERT(LANGUAGE_END == 3);
7190 7190
7191 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 7> {}; 7191 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 7> {};
7192 7192
7193 class DeoptCountBits : public BitField<int, 0, 4> {}; 7193 class DeoptCountBits : public BitField<int, 0, 4> {};
(...skipping 3736 matching lines...) Expand 10 before | Expand all | Expand 10 after
10930 } else { 10930 } else {
10931 value &= ~(1 << bit_position); 10931 value &= ~(1 << bit_position);
10932 } 10932 }
10933 return value; 10933 return value;
10934 } 10934 }
10935 }; 10935 };
10936 10936
10937 } } // namespace v8::internal 10937 } } // namespace v8::internal
10938 10938
10939 #endif // V8_OBJECTS_H_ 10939 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698