| OLD | NEW | 
|---|
| 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 6803 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6814 | 6814 | 
| 6815   // Indicates that this function is an arrow function. | 6815   // Indicates that this function is an arrow function. | 
| 6816   DECL_BOOLEAN_ACCESSORS(is_arrow) | 6816   DECL_BOOLEAN_ACCESSORS(is_arrow) | 
| 6817 | 6817 | 
| 6818   // Indicates that this function is a concise method. | 6818   // Indicates that this function is a concise method. | 
| 6819   DECL_BOOLEAN_ACCESSORS(is_concise_method) | 6819   DECL_BOOLEAN_ACCESSORS(is_concise_method) | 
| 6820 | 6820 | 
| 6821   // Indicates that this function is an asm function. | 6821   // Indicates that this function is an asm function. | 
| 6822   DECL_BOOLEAN_ACCESSORS(asm_function) | 6822   DECL_BOOLEAN_ACCESSORS(asm_function) | 
| 6823 | 6823 | 
|  | 6824   // Indicates that the the shared function info is deserialized from cache. | 
|  | 6825   DECL_BOOLEAN_ACCESSORS(deserialized) | 
|  | 6826 | 
| 6824   inline FunctionKind kind(); | 6827   inline FunctionKind kind(); | 
| 6825   inline void set_kind(FunctionKind kind); | 6828   inline void set_kind(FunctionKind kind); | 
| 6826 | 6829 | 
| 6827   // Indicates whether or not the code in the shared function support | 6830   // Indicates whether or not the code in the shared function support | 
| 6828   // deoptimization. | 6831   // deoptimization. | 
| 6829   inline bool has_deoptimization_support(); | 6832   inline bool has_deoptimization_support(); | 
| 6830 | 6833 | 
| 6831   // Enable deoptimization support through recompiled code. | 6834   // Enable deoptimization support through recompiled code. | 
| 6832   void EnableDeoptimizationSupport(Code* recompiled); | 6835   void EnableDeoptimizationSupport(Code* recompiled); | 
| 6833 | 6836 | 
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 7046     kBoundFunction, | 7049     kBoundFunction, | 
| 7047     kIsAnonymous, | 7050     kIsAnonymous, | 
| 7048     kNameShouldPrintAsAnonymous, | 7051     kNameShouldPrintAsAnonymous, | 
| 7049     kIsFunction, | 7052     kIsFunction, | 
| 7050     kDontCache, | 7053     kDontCache, | 
| 7051     kDontFlush, | 7054     kDontFlush, | 
| 7052     kIsArrow, | 7055     kIsArrow, | 
| 7053     kIsGenerator, | 7056     kIsGenerator, | 
| 7054     kIsConciseMethod, | 7057     kIsConciseMethod, | 
| 7055     kIsAsmFunction, | 7058     kIsAsmFunction, | 
|  | 7059     kDeserialized, | 
| 7056     kCompilerHintsCount  // Pseudo entry | 7060     kCompilerHintsCount  // Pseudo entry | 
| 7057   }; | 7061   }; | 
| 7058 | 7062 | 
| 7059   class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 3> {}; | 7063   class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 3> {}; | 
| 7060 | 7064 | 
| 7061   class DeoptCountBits : public BitField<int, 0, 4> {}; | 7065   class DeoptCountBits : public BitField<int, 0, 4> {}; | 
| 7062   class OptReenableTriesBits : public BitField<int, 4, 18> {}; | 7066   class OptReenableTriesBits : public BitField<int, 4, 18> {}; | 
| 7063   class ICAgeBits : public BitField<int, 22, 8> {}; | 7067   class ICAgeBits : public BitField<int, 22, 8> {}; | 
| 7064 | 7068 | 
| 7065   class OptCountBits : public BitField<int, 0, 22> {}; | 7069   class OptCountBits : public BitField<int, 0, 22> {}; | 
| (...skipping 3788 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 10854     } else { | 10858     } else { | 
| 10855       value &= ~(1 << bit_position); | 10859       value &= ~(1 << bit_position); | 
| 10856     } | 10860     } | 
| 10857     return value; | 10861     return value; | 
| 10858   } | 10862   } | 
| 10859 }; | 10863 }; | 
| 10860 | 10864 | 
| 10861 } }  // namespace v8::internal | 10865 } }  // namespace v8::internal | 
| 10862 | 10866 | 
| 10863 #endif  // V8_OBJECTS_H_ | 10867 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW | 
|---|