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

Side by Side Diff: src/objects.h

Issue 867153003: new classes: special construct stub for derived classs and TDZ for `this`. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CHECK_OK fixed Created 5 years, 10 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/ia32/full-codegen-ia32.cc ('k') | src/parser.h » ('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_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 7198 matching lines...) Expand 10 before | Expand all | Expand 10 after
7209 kBoundFunction, 7209 kBoundFunction,
7210 kIsAnonymous, 7210 kIsAnonymous,
7211 kNameShouldPrintAsAnonymous, 7211 kNameShouldPrintAsAnonymous,
7212 kIsFunction, 7212 kIsFunction,
7213 kDontCache, 7213 kDontCache,
7214 kDontFlush, 7214 kDontFlush,
7215 kIsArrow, 7215 kIsArrow,
7216 kIsGenerator, 7216 kIsGenerator,
7217 kIsConciseMethod, 7217 kIsConciseMethod,
7218 kIsDefaultConstructor, 7218 kIsDefaultConstructor,
7219 kIsSubclassConstructor,
7219 kIsAsmFunction, 7220 kIsAsmFunction,
7220 kDeserialized, 7221 kDeserialized,
7221 kCompilerHintsCount // Pseudo entry 7222 kCompilerHintsCount // Pseudo entry
7222 }; 7223 };
7223 7224
7224 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 4> {}; 7225 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {};
7225 7226
7226 class DeoptCountBits : public BitField<int, 0, 4> {}; 7227 class DeoptCountBits : public BitField<int, 0, 4> {};
7227 class OptReenableTriesBits : public BitField<int, 4, 18> {}; 7228 class OptReenableTriesBits : public BitField<int, 4, 18> {};
7228 class ICAgeBits : public BitField<int, 22, 8> {}; 7229 class ICAgeBits : public BitField<int, 22, 8> {};
7229 7230
7230 class OptCountBits : public BitField<int, 0, 22> {}; 7231 class OptCountBits : public BitField<int, 0, 22> {};
7231 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; 7232 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {};
7232 7233
7233 private: 7234 private:
7234 #if V8_HOST_ARCH_32_BIT 7235 #if V8_HOST_ARCH_32_BIT
(...skipping 3741 matching lines...) Expand 10 before | Expand all | Expand 10 after
10976 } else { 10977 } else {
10977 value &= ~(1 << bit_position); 10978 value &= ~(1 << bit_position);
10978 } 10979 }
10979 return value; 10980 return value;
10980 } 10981 }
10981 }; 10982 };
10982 10983
10983 } } // namespace v8::internal 10984 } } // namespace v8::internal
10984 10985
10985 #endif // V8_OBJECTS_H_ 10986 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698