Chromium Code Reviews| Index: src/compiler/js-inlining.cc |
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
| index 88d91718e551c7f3abcaa9e0c1dd3c0ad1a6dcb3..7f744b57b073ac34f05677d34b0cc29c9f06ad36 100644 |
| --- a/src/compiler/js-inlining.cc |
| +++ b/src/compiler/js-inlining.cc |
| @@ -249,6 +249,11 @@ Reduction JSInliner::Reduce(Node* node) { |
| return NoChange(); |
| } |
| + if (function->shared()->HasDebugInfo()) { |
| + // Function contains break points. |
| + return NoChange(); |
|
Michael Starzinger
2015/07/20 11:29:40
Please add a tracing line ...
TRACE("Not inlining
Yang
2015/07/20 12:13:47
Done.
|
| + } |
| + |
| // Disallow cross native-context inlining for now. This means that all parts |
| // of the resulting code will operate on the same global object. |
| // This also prevents cross context leaks for asm.js code, where we could |