| 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 3744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3755 | 3755 |
| 3756 private: | 3756 private: |
| 3757 int max_young_space_size_; | 3757 int max_young_space_size_; |
| 3758 int max_old_space_size_; | 3758 int max_old_space_size_; |
| 3759 int max_executable_size_; | 3759 int max_executable_size_; |
| 3760 uint32_t* stack_limit_; | 3760 uint32_t* stack_limit_; |
| 3761 Maybe<bool> is_memory_constrained_; | 3761 Maybe<bool> is_memory_constrained_; |
| 3762 }; | 3762 }; |
| 3763 | 3763 |
| 3764 | 3764 |
| 3765 /** |
| 3766 * Sets the given ResourceConstraints on the current isolate. |
| 3767 */ |
| 3765 bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints); | 3768 bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints); |
| 3766 | 3769 |
| 3767 | 3770 |
| 3768 // --- Exceptions --- | 3771 // --- Exceptions --- |
| 3769 | 3772 |
| 3770 | 3773 |
| 3771 typedef void (*FatalErrorCallback)(const char* location, const char* message); | 3774 typedef void (*FatalErrorCallback)(const char* location, const char* message); |
| 3772 | 3775 |
| 3773 | 3776 |
| 3774 typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> error); | 3777 typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> error); |
| (...skipping 2680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6455 */ | 6458 */ |
| 6456 | 6459 |
| 6457 | 6460 |
| 6458 } // namespace v8 | 6461 } // namespace v8 |
| 6459 | 6462 |
| 6460 | 6463 |
| 6461 #undef TYPE_CHECK | 6464 #undef TYPE_CHECK |
| 6462 | 6465 |
| 6463 | 6466 |
| 6464 #endif // V8_H_ | 6467 #endif // V8_H_ |
| OLD | NEW |