| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 41f17223ad504c202c70175d56c318fd36076a86..ef055cc8b027739591c8a272800245b785bcbe9b 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -5456,7 +5456,10 @@ void HGraphBuilder::GenerateIsRegExpEquivalent(int argument_count,
|
|
|
| void HGraphBuilder::GenerateGetCachedArrayIndex(int argument_count,
|
| int ast_id) {
|
| - BAILOUT("inlined runtime function: GetCachedArrayIndex");
|
| + ASSERT(argument_count == 1);
|
| + HValue* value = Pop();
|
| + HGetCachedArrayIndex* result = new HGetCachedArrayIndex(value);
|
| + ast_context()->ReturnInstruction(result, ast_id);
|
| }
|
|
|
|
|
|
|