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

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: Created 5 years, 11 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
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 7171 matching lines...) Expand 10 before | Expand all | Expand 10 after
7182 kBoundFunction, 7182 kBoundFunction,
7183 kIsAnonymous, 7183 kIsAnonymous,
7184 kNameShouldPrintAsAnonymous, 7184 kNameShouldPrintAsAnonymous,
7185 kIsFunction, 7185 kIsFunction,
7186 kDontCache, 7186 kDontCache,
7187 kDontFlush, 7187 kDontFlush,
7188 kIsArrow, 7188 kIsArrow,
7189 kIsGenerator, 7189 kIsGenerator,
7190 kIsConciseMethod, 7190 kIsConciseMethod,
7191 kIsDefaultConstructor, 7191 kIsDefaultConstructor,
7192 kIsSublclassConstructor,
arv (Not doing code reviews) 2015/01/23 15:40:46 typo
Dmitry Lomov (no reviews) 2015/01/23 21:08:28 Done.
7192 kIsAsmFunction, 7193 kIsAsmFunction,
7193 kDeserialized, 7194 kDeserialized,
7194 kCompilerHintsCount // Pseudo entry 7195 kCompilerHintsCount // Pseudo entry
7195 }; 7196 };
7196 7197
7197 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 4> {}; 7198 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {};
7198 7199
7199 class DeoptCountBits : public BitField<int, 0, 4> {}; 7200 class DeoptCountBits : public BitField<int, 0, 4> {};
7200 class OptReenableTriesBits : public BitField<int, 4, 18> {}; 7201 class OptReenableTriesBits : public BitField<int, 4, 18> {};
7201 class ICAgeBits : public BitField<int, 22, 8> {}; 7202 class ICAgeBits : public BitField<int, 22, 8> {};
7202 7203
7203 class OptCountBits : public BitField<int, 0, 22> {}; 7204 class OptCountBits : public BitField<int, 0, 22> {};
7204 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; 7205 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {};
7205 7206
7206 private: 7207 private:
7207 #if V8_HOST_ARCH_32_BIT 7208 #if V8_HOST_ARCH_32_BIT
(...skipping 3720 matching lines...) Expand 10 before | Expand all | Expand 10 after
10928 } else { 10929 } else {
10929 value &= ~(1 << bit_position); 10930 value &= ~(1 << bit_position);
10930 } 10931 }
10931 return value; 10932 return value;
10932 } 10933 }
10933 }; 10934 };
10934 10935
10935 } } // namespace v8::internal 10936 } } // namespace v8::internal
10936 10937
10937 #endif // V8_OBJECTS_H_ 10938 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/parser.h » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698