OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
9 #include "src/debug.h" | 9 #include "src/debug.h" |
10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
(...skipping 2714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2725 CONVERT_ARG_HANDLE_CHECKED(JSObject, data, 0); | 2725 CONVERT_ARG_HANDLE_CHECKED(JSObject, data, 0); |
2726 isolate->debug()->OnAsyncTaskEvent(data); | 2726 isolate->debug()->OnAsyncTaskEvent(data); |
2727 return isolate->heap()->undefined_value(); | 2727 return isolate->heap()->undefined_value(); |
2728 } | 2728 } |
2729 | 2729 |
2730 | 2730 |
2731 RUNTIME_FUNCTION(RuntimeReference_DebugIsActive) { | 2731 RUNTIME_FUNCTION(RuntimeReference_DebugIsActive) { |
2732 SealHandleScope shs(isolate); | 2732 SealHandleScope shs(isolate); |
2733 return Smi::FromInt(isolate->debug()->is_active()); | 2733 return Smi::FromInt(isolate->debug()->is_active()); |
2734 } | 2734 } |
| 2735 |
| 2736 |
| 2737 RUNTIME_FUNCTION(RuntimeReference_DebugBreakInOptimizedCode) { |
| 2738 UNIMPLEMENTED(); |
| 2739 return NULL; |
| 2740 } |
2735 } | 2741 } |
2736 } // namespace v8::internal | 2742 } // namespace v8::internal |
OLD | NEW |