| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1751 } else { | 1751 } else { |
| 1752 __ Drop(3); | 1752 __ Drop(3); |
| 1753 } | 1753 } |
| 1754 break; | 1754 break; |
| 1755 case ObjectLiteral::Property::PROTOTYPE: | 1755 case ObjectLiteral::Property::PROTOTYPE: |
| 1756 // Duplicate receiver on stack. | 1756 // Duplicate receiver on stack. |
| 1757 __ ldr(r0, MemOperand(sp)); | 1757 __ ldr(r0, MemOperand(sp)); |
| 1758 __ push(r0); | 1758 __ push(r0); |
| 1759 VisitForStackValue(value); | 1759 VisitForStackValue(value); |
| 1760 if (property->emit_store()) { | 1760 if (property->emit_store()) { |
| 1761 __ CallRuntime(Runtime::kSetPrototype, 2); | 1761 __ CallRuntime(Runtime::kInternalSetPrototype, 2); |
| 1762 } else { | 1762 } else { |
| 1763 __ Drop(2); | 1763 __ Drop(2); |
| 1764 } | 1764 } |
| 1765 break; | 1765 break; |
| 1766 | 1766 |
| 1767 case ObjectLiteral::Property::GETTER: | 1767 case ObjectLiteral::Property::GETTER: |
| 1768 accessor_table.lookup(key)->second->getter = value; | 1768 accessor_table.lookup(key)->second->getter = value; |
| 1769 break; | 1769 break; |
| 1770 case ObjectLiteral::Property::SETTER: | 1770 case ObjectLiteral::Property::SETTER: |
| 1771 accessor_table.lookup(key)->second->setter = value; | 1771 accessor_table.lookup(key)->second->setter = value; |
| (...skipping 3491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5263 | 5263 |
| 5264 DCHECK(interrupt_address == | 5264 DCHECK(interrupt_address == |
| 5265 isolate->builtins()->OsrAfterStackCheck()->entry()); | 5265 isolate->builtins()->OsrAfterStackCheck()->entry()); |
| 5266 return OSR_AFTER_STACK_CHECK; | 5266 return OSR_AFTER_STACK_CHECK; |
| 5267 } | 5267 } |
| 5268 | 5268 |
| 5269 | 5269 |
| 5270 } } // namespace v8::internal | 5270 } } // namespace v8::internal |
| 5271 | 5271 |
| 5272 #endif // V8_TARGET_ARCH_ARM | 5272 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |