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 5627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5638 | 5638 |
5639 // Indicates whether or not the code in the shared function support | 5639 // Indicates whether or not the code in the shared function support |
5640 // deoptimization. | 5640 // deoptimization. |
5641 inline bool has_deoptimization_support(); | 5641 inline bool has_deoptimization_support(); |
5642 | 5642 |
5643 // Enable deoptimization support through recompiled code. | 5643 // Enable deoptimization support through recompiled code. |
5644 void EnableDeoptimizationSupport(Code* recompiled); | 5644 void EnableDeoptimizationSupport(Code* recompiled); |
5645 | 5645 |
5646 // Disable (further) attempted optimization of all functions sharing this | 5646 // Disable (further) attempted optimization of all functions sharing this |
5647 // shared function info. | 5647 // shared function info. |
5648 void DisableOptimization(); | 5648 void DisableOptimization(const char* reason); |
5649 | 5649 |
5650 // Lookup the bailout ID and ASSERT that it exists in the non-optimized | 5650 // Lookup the bailout ID and ASSERT that it exists in the non-optimized |
5651 // code, returns whether it asserted (i.e., always true if assertions are | 5651 // code, returns whether it asserted (i.e., always true if assertions are |
5652 // disabled). | 5652 // disabled). |
5653 bool VerifyBailoutId(BailoutId id); | 5653 bool VerifyBailoutId(BailoutId id); |
5654 | 5654 |
5655 // Check whether a inlined constructor can be generated with the given | 5655 // Check whether a inlined constructor can be generated with the given |
5656 // prototype. | 5656 // prototype. |
5657 bool CanGenerateInlineConstructor(Object* prototype); | 5657 bool CanGenerateInlineConstructor(Object* prototype); |
5658 | 5658 |
(...skipping 3271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8930 } else { | 8930 } else { |
8931 value &= ~(1 << bit_position); | 8931 value &= ~(1 << bit_position); |
8932 } | 8932 } |
8933 return value; | 8933 return value; |
8934 } | 8934 } |
8935 }; | 8935 }; |
8936 | 8936 |
8937 } } // namespace v8::internal | 8937 } } // namespace v8::internal |
8938 | 8938 |
8939 #endif // V8_OBJECTS_H_ | 8939 #endif // V8_OBJECTS_H_ |
OLD | NEW |