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 3726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3737 kArgc, | 3737 kArgc, |
3738 argv); | 3738 argv); |
3739 EXCEPTION_BAILOUT_CHECK(Local<Value>()); | 3739 EXCEPTION_BAILOUT_CHECK(Local<Value>()); |
3740 return scope.Close(result); | 3740 return scope.Close(result); |
3741 } | 3741 } |
3742 | 3742 |
3743 | 3743 |
3744 bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) { | 3744 bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) { |
3745 return i::Debugger::StartAgent(name, port, wait_for_connection); | 3745 return i::Debugger::StartAgent(name, port, wait_for_connection); |
3746 } | 3746 } |
| 3747 |
| 3748 void Debug::ProcessDebugMessages() { |
| 3749 i::Execution::ProcessDebugMesssages(true); |
| 3750 } |
| 3751 |
3747 #endif // ENABLE_DEBUGGER_SUPPORT | 3752 #endif // ENABLE_DEBUGGER_SUPPORT |
3748 | 3753 |
3749 namespace internal { | 3754 namespace internal { |
3750 | 3755 |
3751 | 3756 |
3752 HandleScopeImplementer* HandleScopeImplementer::instance() { | 3757 HandleScopeImplementer* HandleScopeImplementer::instance() { |
3753 return &thread_local; | 3758 return &thread_local; |
3754 } | 3759 } |
3755 | 3760 |
3756 | 3761 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3822 | 3827 |
3823 | 3828 |
3824 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 3829 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
3825 HandleScopeImplementer* thread_local = | 3830 HandleScopeImplementer* thread_local = |
3826 reinterpret_cast<HandleScopeImplementer*>(storage); | 3831 reinterpret_cast<HandleScopeImplementer*>(storage); |
3827 thread_local->IterateThis(v); | 3832 thread_local->IterateThis(v); |
3828 return storage + ArchiveSpacePerThread(); | 3833 return storage + ArchiveSpacePerThread(); |
3829 } | 3834 } |
3830 | 3835 |
3831 } } // namespace v8::internal | 3836 } } // namespace v8::internal |
OLD | NEW |