| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 6980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6991 | 6991 |
| 6992 // Indicates that code for this function cannot be cached. | 6992 // Indicates that code for this function cannot be cached. |
| 6993 DECL_BOOLEAN_ACCESSORS(dont_cache) | 6993 DECL_BOOLEAN_ACCESSORS(dont_cache) |
| 6994 | 6994 |
| 6995 // Indicates that code for this function cannot be flushed. | 6995 // Indicates that code for this function cannot be flushed. |
| 6996 DECL_BOOLEAN_ACCESSORS(dont_flush) | 6996 DECL_BOOLEAN_ACCESSORS(dont_flush) |
| 6997 | 6997 |
| 6998 // Indicates that this function is a generator. | 6998 // Indicates that this function is a generator. |
| 6999 DECL_BOOLEAN_ACCESSORS(is_generator) | 6999 DECL_BOOLEAN_ACCESSORS(is_generator) |
| 7000 | 7000 |
| 7001 // Indicated that this function is an arrow function. |
| 7002 DECL_BOOLEAN_ACCESSORS(is_arrow) |
| 7003 |
| 7001 // Indicates whether or not the code in the shared function support | 7004 // Indicates whether or not the code in the shared function support |
| 7002 // deoptimization. | 7005 // deoptimization. |
| 7003 inline bool has_deoptimization_support(); | 7006 inline bool has_deoptimization_support(); |
| 7004 | 7007 |
| 7005 // Enable deoptimization support through recompiled code. | 7008 // Enable deoptimization support through recompiled code. |
| 7006 void EnableDeoptimizationSupport(Code* recompiled); | 7009 void EnableDeoptimizationSupport(Code* recompiled); |
| 7007 | 7010 |
| 7008 // Disable (further) attempted optimization of all functions sharing this | 7011 // Disable (further) attempted optimization of all functions sharing this |
| 7009 // shared function info. | 7012 // shared function info. |
| 7010 void DisableOptimization(BailoutReason reason); | 7013 void DisableOptimization(BailoutReason reason); |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7204 kInlineBuiltin, | 7207 kInlineBuiltin, |
| 7205 kBoundFunction, | 7208 kBoundFunction, |
| 7206 kIsAnonymous, | 7209 kIsAnonymous, |
| 7207 kNameShouldPrintAsAnonymous, | 7210 kNameShouldPrintAsAnonymous, |
| 7208 kIsFunction, | 7211 kIsFunction, |
| 7209 kDontOptimize, | 7212 kDontOptimize, |
| 7210 kDontInline, | 7213 kDontInline, |
| 7211 kDontCache, | 7214 kDontCache, |
| 7212 kDontFlush, | 7215 kDontFlush, |
| 7213 kIsGenerator, | 7216 kIsGenerator, |
| 7217 kIsArrow, |
| 7214 kCompilerHintsCount // Pseudo entry | 7218 kCompilerHintsCount // Pseudo entry |
| 7215 }; | 7219 }; |
| 7216 | 7220 |
| 7217 class DeoptCountBits: public BitField<int, 0, 4> {}; | 7221 class DeoptCountBits: public BitField<int, 0, 4> {}; |
| 7218 class OptReenableTriesBits: public BitField<int, 4, 18> {}; | 7222 class OptReenableTriesBits: public BitField<int, 4, 18> {}; |
| 7219 class ICAgeBits: public BitField<int, 22, 8> {}; | 7223 class ICAgeBits: public BitField<int, 22, 8> {}; |
| 7220 | 7224 |
| 7221 class OptCountBits: public BitField<int, 0, 22> {}; | 7225 class OptCountBits: public BitField<int, 0, 22> {}; |
| 7222 class DisabledOptimizationReasonBits: public BitField<int, 22, 8> {}; | 7226 class DisabledOptimizationReasonBits: public BitField<int, 22, 8> {}; |
| 7223 | 7227 |
| (...skipping 3567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10791 } else { | 10795 } else { |
| 10792 value &= ~(1 << bit_position); | 10796 value &= ~(1 << bit_position); |
| 10793 } | 10797 } |
| 10794 return value; | 10798 return value; |
| 10795 } | 10799 } |
| 10796 }; | 10800 }; |
| 10797 | 10801 |
| 10798 } } // namespace v8::internal | 10802 } } // namespace v8::internal |
| 10799 | 10803 |
| 10800 #endif // V8_OBJECTS_H_ | 10804 #endif // V8_OBJECTS_H_ |
| OLD | NEW |