| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1519 | 1519 |
| 1520 void JumpIfJSArrayHasAllocationMemento(Register receiver_reg, | 1520 void JumpIfJSArrayHasAllocationMemento(Register receiver_reg, |
| 1521 Register scratch_reg, | 1521 Register scratch_reg, |
| 1522 Label* memento_found) { | 1522 Label* memento_found) { |
| 1523 Label no_memento_found; | 1523 Label no_memento_found; |
| 1524 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, | 1524 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, |
| 1525 &no_memento_found, eq, memento_found); | 1525 &no_memento_found, eq, memento_found); |
| 1526 bind(&no_memento_found); | 1526 bind(&no_memento_found); |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 // Jumps to found label if a prototype map has dictionary elements. |
| 1530 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, |
| 1531 Register scratch1, Label* found); |
| 1532 |
| 1529 private: | 1533 private: |
| 1530 void CallCFunctionHelper(Register function, | 1534 void CallCFunctionHelper(Register function, |
| 1531 int num_reg_arguments, | 1535 int num_reg_arguments, |
| 1532 int num_double_arguments); | 1536 int num_double_arguments); |
| 1533 | 1537 |
| 1534 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); | 1538 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); |
| 1535 void BranchShort(int16_t offset, Condition cond, Register rs, | 1539 void BranchShort(int16_t offset, Condition cond, Register rs, |
| 1536 const Operand& rt, | 1540 const Operand& rt, |
| 1537 BranchDelaySlot bdslot = PROTECT); | 1541 BranchDelaySlot bdslot = PROTECT); |
| 1538 void BranchShort(Label* L, BranchDelaySlot bdslot = PROTECT); | 1542 void BranchShort(Label* L, BranchDelaySlot bdslot = PROTECT); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1642 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1646 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1643 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1647 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1644 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1648 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1645 #else | 1649 #else |
| 1646 #define ACCESS_MASM(masm) masm-> | 1650 #define ACCESS_MASM(masm) masm-> |
| 1647 #endif | 1651 #endif |
| 1648 | 1652 |
| 1649 } } // namespace v8::internal | 1653 } } // namespace v8::internal |
| 1650 | 1654 |
| 1651 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1655 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |