| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
| 6 | 6 |
| 7 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/debug/debug.h" | 10 #include "src/debug/debug.h" |
| (...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 } | 1446 } |
| 1447 } | 1447 } |
| 1448 } | 1448 } |
| 1449 | 1449 |
| 1450 | 1450 |
| 1451 void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { | 1451 void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
| 1452 Comment cmnt(masm_, "[ RegExpLiteral"); | 1452 Comment cmnt(masm_, "[ RegExpLiteral"); |
| 1453 __ Ldr(x3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 1453 __ Ldr(x3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
| 1454 __ Mov(x2, Smi::FromInt(expr->literal_index())); | 1454 __ Mov(x2, Smi::FromInt(expr->literal_index())); |
| 1455 __ Mov(x1, Operand(expr->pattern())); | 1455 __ Mov(x1, Operand(expr->pattern())); |
| 1456 __ Mov(x0, Operand(expr->flags())); | 1456 __ Mov(x0, Smi::FromInt(expr->flags())); |
| 1457 FastCloneRegExpStub stub(isolate()); | 1457 FastCloneRegExpStub stub(isolate()); |
| 1458 __ CallStub(&stub); | 1458 __ CallStub(&stub); |
| 1459 context()->Plug(x0); | 1459 context()->Plug(x0); |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 | 1462 |
| 1463 void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) { | 1463 void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) { |
| 1464 Expression* expression = (property == NULL) ? NULL : property->value(); | 1464 Expression* expression = (property == NULL) ? NULL : property->value(); |
| 1465 if (expression == NULL) { | 1465 if (expression == NULL) { |
| 1466 __ LoadRoot(x10, Heap::kNullValueRootIndex); | 1466 __ LoadRoot(x10, Heap::kNullValueRootIndex); |
| (...skipping 3534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5001 } | 5001 } |
| 5002 | 5002 |
| 5003 return INTERRUPT; | 5003 return INTERRUPT; |
| 5004 } | 5004 } |
| 5005 | 5005 |
| 5006 | 5006 |
| 5007 } // namespace internal | 5007 } // namespace internal |
| 5008 } // namespace v8 | 5008 } // namespace v8 |
| 5009 | 5009 |
| 5010 #endif // V8_TARGET_ARCH_ARM64 | 5010 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |