v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3698 | skipping to change at line 3698 | |||
// Sets an address beyond which the VM's stack may not grow. | // Sets an address beyond which the VM's stack may not grow. | |||
void set_stack_limit(uint32_t* value) { stack_limit_ = value; } | void set_stack_limit(uint32_t* value) { stack_limit_ = value; } | |||
private: | private: | |||
int max_young_space_size_; | int max_young_space_size_; | |||
int max_old_space_size_; | int max_old_space_size_; | |||
int max_executable_size_; | int max_executable_size_; | |||
uint32_t* stack_limit_; | uint32_t* stack_limit_; | |||
}; | }; | |||
V8_DEPRECATED( | ||||
"Use SetResourceConstraints(isolate, constraints) instead", | ||||
bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints) | ||||
); | ||||
/** | /** | |||
* Sets the given ResourceConstraints on the current isolate. | * Sets the given ResourceConstraints on the given Isolate. | |||
*/ | */ | |||
bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints); | bool V8_EXPORT SetResourceConstraints(Isolate* isolate, | |||
ResourceConstraints* constraints); | ||||
// --- Exceptions --- | // --- Exceptions --- | |||
typedef void (*FatalErrorCallback)(const char* location, const char* messag e); | typedef void (*FatalErrorCallback)(const char* location, const char* messag e); | |||
typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> erro r); | typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> erro r); | |||
V8_DEPRECATED( | V8_DEPRECATED( | |||
"Use Isolate::ThrowException instead", | "Use Isolate::ThrowException instead", | |||
Handle<Value> V8_EXPORT ThrowException(Handle<Value> exception)); | Handle<Value> V8_EXPORT ThrowException(Handle<Value> exception)); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 8 lines changed or added | |||