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 4203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4214 i::V8::SetEntropySource(source); | 4214 i::V8::SetEntropySource(source); |
4215 } | 4215 } |
4216 | 4216 |
4217 | 4217 |
4218 void v8::V8::SetReturnAddressLocationResolver( | 4218 void v8::V8::SetReturnAddressLocationResolver( |
4219 ReturnAddressLocationResolver return_address_resolver) { | 4219 ReturnAddressLocationResolver return_address_resolver) { |
4220 i::V8::SetReturnAddressLocationResolver(return_address_resolver); | 4220 i::V8::SetReturnAddressLocationResolver(return_address_resolver); |
4221 } | 4221 } |
4222 | 4222 |
4223 | 4223 |
| 4224 void v8::V8::SetFunctionEntryHook(uintptr_t entry_hook) { |
| 4225 i::V8::SetFunctionEntryHook(entry_hook); |
| 4226 } |
| 4227 |
| 4228 |
4224 bool v8::V8::Dispose() { | 4229 bool v8::V8::Dispose() { |
4225 i::Isolate* isolate = i::Isolate::Current(); | 4230 i::Isolate* isolate = i::Isolate::Current(); |
4226 if (!ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(), | 4231 if (!ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(), |
4227 "v8::V8::Dispose()", | 4232 "v8::V8::Dispose()", |
4228 "Use v8::Isolate::Dispose() for a non-default isolate.")) { | 4233 "Use v8::Isolate::Dispose() for a non-default isolate.")) { |
4229 return false; | 4234 return false; |
4230 } | 4235 } |
4231 i::V8::TearDown(); | 4236 i::V8::TearDown(); |
4232 return true; | 4237 return true; |
4233 } | 4238 } |
(...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6401 | 6406 |
6402 | 6407 |
6403 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 6408 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
6404 HandleScopeImplementer* scope_implementer = | 6409 HandleScopeImplementer* scope_implementer = |
6405 reinterpret_cast<HandleScopeImplementer*>(storage); | 6410 reinterpret_cast<HandleScopeImplementer*>(storage); |
6406 scope_implementer->IterateThis(v); | 6411 scope_implementer->IterateThis(v); |
6407 return storage + ArchiveSpacePerThread(); | 6412 return storage + ArchiveSpacePerThread(); |
6408 } | 6413 } |
6409 | 6414 |
6410 } } // namespace v8::internal | 6415 } } // namespace v8::internal |
OLD | NEW |