| OLD | NEW |
| 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 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 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2217 uint32_t* stack_limit() const { return stack_limit_; } | 2217 uint32_t* stack_limit() const { return stack_limit_; } |
| 2218 // Sets an address beyond which the VM's stack may not grow. | 2218 // Sets an address beyond which the VM's stack may not grow. |
| 2219 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } | 2219 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } |
| 2220 private: | 2220 private: |
| 2221 int max_young_space_size_; | 2221 int max_young_space_size_; |
| 2222 int max_old_space_size_; | 2222 int max_old_space_size_; |
| 2223 uint32_t* stack_limit_; | 2223 uint32_t* stack_limit_; |
| 2224 }; | 2224 }; |
| 2225 | 2225 |
| 2226 | 2226 |
| 2227 bool SetResourceConstraints(ResourceConstraints* constraints); | 2227 bool V8EXPORT SetResourceConstraints(ResourceConstraints* constraints); |
| 2228 | 2228 |
| 2229 | 2229 |
| 2230 // --- E x c e p t i o n s --- | 2230 // --- E x c e p t i o n s --- |
| 2231 | 2231 |
| 2232 | 2232 |
| 2233 typedef void (*FatalErrorCallback)(const char* location, const char* message); | 2233 typedef void (*FatalErrorCallback)(const char* location, const char* message); |
| 2234 | 2234 |
| 2235 | 2235 |
| 2236 typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> data); | 2236 typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> data); |
| 2237 | 2237 |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3508 | 3508 |
| 3509 } // namespace v8 | 3509 } // namespace v8 |
| 3510 | 3510 |
| 3511 | 3511 |
| 3512 #undef V8EXPORT | 3512 #undef V8EXPORT |
| 3513 #undef V8EXPORT_INLINE | 3513 #undef V8EXPORT_INLINE |
| 3514 #undef TYPE_CHECK | 3514 #undef TYPE_CHECK |
| 3515 | 3515 |
| 3516 | 3516 |
| 3517 #endif // V8_H_ | 3517 #endif // V8_H_ |
| OLD | NEW |