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