| Index: src/compiler/js-context-relaxation.cc
|
| diff --git a/src/compiler/js-context-relaxation.cc b/src/compiler/js-context-relaxation.cc
|
| index 0ca3c0c9d3ccb7fd6872afd161f601324b6be247..4072ae82ef0c668949aaba9cdf76af0c31a26331 100644
|
| --- a/src/compiler/js-context-relaxation.cc
|
| +++ b/src/compiler/js-context-relaxation.cc
|
| @@ -14,6 +14,20 @@ namespace compiler {
|
|
|
| Reduction JSContextRelaxation::Reduce(Node* node) {
|
| switch (node->opcode()) {
|
| + case IrOpcode::kJSCallRuntime: {
|
| + const CallRuntimeParameters& p = CallRuntimeParametersOf(node->op());
|
| + const Runtime::Function* fun = Runtime::FunctionForId(p.id());
|
| + switch (fun->function_id) {
|
| +#define IC_CASE(name, number_of_args, result_size) \
|
| + case Runtime::k##name: \
|
| + break;
|
| + FOR_EACH_INTRINSIC_IC(IC_CASE)
|
| +#undef IC_CASE
|
| + default:
|
| + return NoChange();
|
| + }
|
| + }
|
| + // Fall through
|
| case IrOpcode::kJSCallFunction:
|
| case IrOpcode::kJSToNumber: {
|
| Node* frame_state = NodeProperties::GetFrameStateInput(node, 0);
|
|
|