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