| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index c2ede2c412ca7fcac0a7f19c62c7082b02e72031..b3287262e334e82f1a344d5051d1dd8889202f3d 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1782,8 +1782,10 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoStringCharCodeAt(HStringCharCodeAt* instr) {
|
| - Abort("Unimplemented: %s", "DoStringCharCodeAt");
|
| - return NULL;
|
| + LOperand* string = UseRegister(instr->string());
|
| + LOperand* index = UseRegisterOrConstant(instr->index());
|
| + LStringCharCodeAt* result = new LStringCharCodeAt(string, index);
|
| + return AssignEnvironment(AssignPointerMap(DefineAsRegister(result)));
|
| }
|
|
|
|
|
| @@ -1804,8 +1806,7 @@ LInstruction* LChunkBuilder::DoObjectLiteral(HObjectLiteral* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
|
| - Abort("Unimplemented: %s", "DoRegExpLiteral");
|
| - return NULL;
|
| + return MarkAsCall(DefineFixed(new LRegExpLiteral, rax), instr);
|
| }
|
|
|
|
|
|
|