| Index: src/compiler/js-frame-specialization.cc
|
| diff --git a/src/compiler/js-frame-specialization.cc b/src/compiler/js-frame-specialization.cc
|
| index 55ec1bf41d255509bda30e481352396ffd10a164..73e1b7dd24c94de3144895b095051f6d355303eb 100644
|
| --- a/src/compiler/js-frame-specialization.cc
|
| +++ b/src/compiler/js-frame-specialization.cc
|
| @@ -27,6 +27,9 @@ Reduction JSFrameSpecialization::Reduce(Node* node) {
|
| }
|
|
|
| Reduction JSFrameSpecialization::ReduceOsrValue(Node* node) {
|
| + // JSFrameSpecialization should never run on interpreted frames, since the
|
| + // code below assumes standard stack frame layouts.
|
| + DCHECK(!frame()->is_interpreted());
|
| DCHECK_EQ(IrOpcode::kOsrValue, node->opcode());
|
| Handle<Object> value;
|
| int index = OsrValueIndexOf(node->op());
|
|
|