Chromium Code Reviews| 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 4713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4724 | 4724 |
| 4725 /** | 4725 /** |
| 4726 * Optional notification that a context has been disposed. V8 uses | 4726 * Optional notification that a context has been disposed. V8 uses |
| 4727 * these notifications to guide the GC heuristic. Returns the number | 4727 * these notifications to guide the GC heuristic. Returns the number |
| 4728 * of context disposals - including this one - since the last time | 4728 * of context disposals - including this one - since the last time |
| 4729 * V8 had a chance to clean up. | 4729 * V8 had a chance to clean up. |
| 4730 */ | 4730 */ |
| 4731 static int ContextDisposedNotification(); | 4731 static int ContextDisposedNotification(); |
| 4732 | 4732 |
| 4733 /** | 4733 /** |
| 4734 * Performs a per-thread setup. The embedder should invoke this method | |
| 4735 * in all threads (including the main thread) before V8 is initialized. | |
| 4736 * | |
| 4737 * Currently, this method enables the subnormal float support on QNX/ARM. | |
| 4738 * It is a no-op on all the other platforms. | |
| 4739 */ | |
| 4740 static void PerThreadSetUp(); | |
|
jochen (gone - plz use gerrit)
2014/01/22 11:26:20
I'd prefer a name of the form Verb+Action, e.g. Pe
| |
| 4741 | |
| 4742 /** | |
| 4734 * Initialize the ICU library bundled with V8. The embedder should only | 4743 * Initialize the ICU library bundled with V8. The embedder should only |
| 4735 * invoke this method when using the bundled ICU. Returns true on success. | 4744 * invoke this method when using the bundled ICU. Returns true on success. |
| 4736 */ | 4745 */ |
| 4737 static bool InitializeICU(); | 4746 static bool InitializeICU(); |
| 4738 | 4747 |
| 4739 /** | 4748 /** |
| 4740 * Sets the v8::Platform to use. This should be invoked before V8 is | 4749 * Sets the v8::Platform to use. This should be invoked before V8 is |
| 4741 * initialized. | 4750 * initialized. |
| 4742 */ | 4751 */ |
| 4743 static void InitializePlatform(Platform* platform); | 4752 static void InitializePlatform(Platform* platform); |
| (...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6428 */ | 6437 */ |
| 6429 | 6438 |
| 6430 | 6439 |
| 6431 } // namespace v8 | 6440 } // namespace v8 |
| 6432 | 6441 |
| 6433 | 6442 |
| 6434 #undef TYPE_CHECK | 6443 #undef TYPE_CHECK |
| 6435 | 6444 |
| 6436 | 6445 |
| 6437 #endif // V8_H_ | 6446 #endif // V8_H_ |
| OLD | NEW |