| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 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 3809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3820 v8::Handle<v8::Value> argv[kArgc] = { obj }; | 3820 v8::Handle<v8::Value> argv[kArgc] = { obj }; |
| 3821 EXCEPTION_PREAMBLE(); | 3821 EXCEPTION_PREAMBLE(); |
| 3822 v8::Handle<v8::Value> result = v8_fun->Call(Utils::ToLocal(debug), | 3822 v8::Handle<v8::Value> result = v8_fun->Call(Utils::ToLocal(debug), |
| 3823 kArgc, | 3823 kArgc, |
| 3824 argv); | 3824 argv); |
| 3825 EXCEPTION_BAILOUT_CHECK(Local<Value>()); | 3825 EXCEPTION_BAILOUT_CHECK(Local<Value>()); |
| 3826 return scope.Close(result); | 3826 return scope.Close(result); |
| 3827 } | 3827 } |
| 3828 | 3828 |
| 3829 | 3829 |
| 3830 bool Debug::EnableAgent(const char* name, int port) { | 3830 bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) { |
| 3831 return i::Debugger::StartAgent(name, port); | 3831 return i::Debugger::StartAgent(name, port, wait_for_connection); |
| 3832 } | 3832 } |
| 3833 #endif // ENABLE_DEBUGGER_SUPPORT | 3833 #endif // ENABLE_DEBUGGER_SUPPORT |
| 3834 | 3834 |
| 3835 namespace internal { | 3835 namespace internal { |
| 3836 | 3836 |
| 3837 | 3837 |
| 3838 HandleScopeImplementer* HandleScopeImplementer::instance() { | 3838 HandleScopeImplementer* HandleScopeImplementer::instance() { |
| 3839 return &thread_local; | 3839 return &thread_local; |
| 3840 } | 3840 } |
| 3841 | 3841 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3908 | 3908 |
| 3909 | 3909 |
| 3910 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 3910 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
| 3911 HandleScopeImplementer* thread_local = | 3911 HandleScopeImplementer* thread_local = |
| 3912 reinterpret_cast<HandleScopeImplementer*>(storage); | 3912 reinterpret_cast<HandleScopeImplementer*>(storage); |
| 3913 thread_local->IterateThis(v); | 3913 thread_local->IterateThis(v); |
| 3914 return storage + ArchiveSpacePerThread(); | 3914 return storage + ArchiveSpacePerThread(); |
| 3915 } | 3915 } |
| 3916 | 3916 |
| 3917 } } // namespace v8::internal | 3917 } } // namespace v8::internal |
| OLD | NEW |