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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
9 // Note on Mips implementation: | 9 // Note on Mips implementation: |
10 // | 10 // |
(...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1734 } else { | 1734 } else { |
1735 __ Drop(3); | 1735 __ Drop(3); |
1736 } | 1736 } |
1737 break; | 1737 break; |
1738 case ObjectLiteral::Property::PROTOTYPE: | 1738 case ObjectLiteral::Property::PROTOTYPE: |
1739 // Duplicate receiver on stack. | 1739 // Duplicate receiver on stack. |
1740 __ ld(a0, MemOperand(sp)); | 1740 __ ld(a0, MemOperand(sp)); |
1741 __ push(a0); | 1741 __ push(a0); |
1742 VisitForStackValue(value); | 1742 VisitForStackValue(value); |
1743 if (property->emit_store()) { | 1743 if (property->emit_store()) { |
1744 __ CallRuntime(Runtime::kSetPrototype, 2); | 1744 __ CallRuntime(Runtime::kInternalSetPrototype, 2); |
1745 } else { | 1745 } else { |
1746 __ Drop(2); | 1746 __ Drop(2); |
1747 } | 1747 } |
1748 break; | 1748 break; |
1749 case ObjectLiteral::Property::GETTER: | 1749 case ObjectLiteral::Property::GETTER: |
1750 accessor_table.lookup(key)->second->getter = value; | 1750 accessor_table.lookup(key)->second->getter = value; |
1751 break; | 1751 break; |
1752 case ObjectLiteral::Property::SETTER: | 1752 case ObjectLiteral::Property::SETTER: |
1753 accessor_table.lookup(key)->second->setter = value; | 1753 accessor_table.lookup(key)->second->setter = value; |
1754 break; | 1754 break; |
(...skipping 3450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5205 Assembler::target_address_at(pc_immediate_load_address)) == | 5205 Assembler::target_address_at(pc_immediate_load_address)) == |
5206 reinterpret_cast<uint64_t>( | 5206 reinterpret_cast<uint64_t>( |
5207 isolate->builtins()->OsrAfterStackCheck()->entry())); | 5207 isolate->builtins()->OsrAfterStackCheck()->entry())); |
5208 return OSR_AFTER_STACK_CHECK; | 5208 return OSR_AFTER_STACK_CHECK; |
5209 } | 5209 } |
5210 | 5210 |
5211 | 5211 |
5212 } } // namespace v8::internal | 5212 } } // namespace v8::internal |
5213 | 5213 |
5214 #endif // V8_TARGET_ARCH_MIPS64 | 5214 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |