| 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 5535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5546 wait_for_connection); | 5546 wait_for_connection); |
| 5547 } | 5547 } |
| 5548 | 5548 |
| 5549 | 5549 |
| 5550 void Debug::DisableAgent() { | 5550 void Debug::DisableAgent() { |
| 5551 return i::Isolate::Current()->debugger()->StopAgent(); | 5551 return i::Isolate::Current()->debugger()->StopAgent(); |
| 5552 } | 5552 } |
| 5553 | 5553 |
| 5554 | 5554 |
| 5555 void Debug::ProcessDebugMessages() { | 5555 void Debug::ProcessDebugMessages() { |
| 5556 i::Execution::ProcessDebugMesssages(true); | 5556 i::Execution::ProcessDebugMessages(true); |
| 5557 } | 5557 } |
| 5558 | 5558 |
| 5559 Local<Context> Debug::GetDebugContext() { | 5559 Local<Context> Debug::GetDebugContext() { |
| 5560 i::Isolate* isolate = i::Isolate::Current(); | 5560 i::Isolate* isolate = i::Isolate::Current(); |
| 5561 EnsureInitializedForIsolate(isolate, "v8::Debug::GetDebugContext()"); | 5561 EnsureInitializedForIsolate(isolate, "v8::Debug::GetDebugContext()"); |
| 5562 ENTER_V8(isolate); | 5562 ENTER_V8(isolate); |
| 5563 return Utils::ToLocal(i::Isolate::Current()->debugger()->GetDebugContext()); | 5563 return Utils::ToLocal(i::Isolate::Current()->debugger()->GetDebugContext()); |
| 5564 } | 5564 } |
| 5565 | 5565 |
| 5566 #endif // ENABLE_DEBUGGER_SUPPORT | 5566 #endif // ENABLE_DEBUGGER_SUPPORT |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6158 | 6158 |
| 6159 | 6159 |
| 6160 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 6160 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
| 6161 HandleScopeImplementer* scope_implementer = | 6161 HandleScopeImplementer* scope_implementer = |
| 6162 reinterpret_cast<HandleScopeImplementer*>(storage); | 6162 reinterpret_cast<HandleScopeImplementer*>(storage); |
| 6163 scope_implementer->IterateThis(v); | 6163 scope_implementer->IterateThis(v); |
| 6164 return storage + ArchiveSpacePerThread(); | 6164 return storage + ArchiveSpacePerThread(); |
| 6165 } | 6165 } |
| 6166 | 6166 |
| 6167 } } // namespace v8::internal | 6167 } } // namespace v8::internal |
| OLD | NEW |