| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1569 } | 1569 } |
| 1570 } | 1570 } |
| 1571 if (RelocInfo::IsConstructCall(mode)) { | 1571 if (RelocInfo::IsConstructCall(mode)) { |
| 1572 Handle<Code> result = | 1572 Handle<Code> result = |
| 1573 Isolate::Current()->builtins()->ConstructCall_DebugBreak(); | 1573 Isolate::Current()->builtins()->ConstructCall_DebugBreak(); |
| 1574 return result; | 1574 return result; |
| 1575 } | 1575 } |
| 1576 if (code->kind() == Code::STUB) { | 1576 if (code->kind() == Code::STUB) { |
| 1577 ASSERT(code->major_key() == CodeStub::CallFunction); | 1577 ASSERT(code->major_key() == CodeStub::CallFunction); |
| 1578 Handle<Code> result = | 1578 Handle<Code> result = |
| 1579 Isolate::Current()->builtins()->StubNoRegisters_DebugBreak(); | 1579 Isolate::Current()->builtins()->CallFunctionStub_DebugBreak(); |
| 1580 return result; | 1580 return result; |
| 1581 } | 1581 } |
| 1582 | 1582 |
| 1583 UNREACHABLE(); | 1583 UNREACHABLE(); |
| 1584 return Handle<Code>::null(); | 1584 return Handle<Code>::null(); |
| 1585 } | 1585 } |
| 1586 | 1586 |
| 1587 | 1587 |
| 1588 // Simple function for returning the source positions for active break points. | 1588 // Simple function for returning the source positions for active break points. |
| 1589 Handle<Object> Debug::GetSourceBreakLocations( | 1589 Handle<Object> Debug::GetSourceBreakLocations( |
| (...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3322 { | 3322 { |
| 3323 Locker locker; | 3323 Locker locker; |
| 3324 Isolate::Current()->debugger()->CallMessageDispatchHandler(); | 3324 Isolate::Current()->debugger()->CallMessageDispatchHandler(); |
| 3325 } | 3325 } |
| 3326 } | 3326 } |
| 3327 } | 3327 } |
| 3328 | 3328 |
| 3329 #endif // ENABLE_DEBUGGER_SUPPORT | 3329 #endif // ENABLE_DEBUGGER_SUPPORT |
| 3330 | 3330 |
| 3331 } } // namespace v8::internal | 3331 } } // namespace v8::internal |
| OLD | NEW |