| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 address, // An input reg. | 459 address, // An input reg. |
| 460 value) { // One scratch reg. | 460 value) { // One scratch reg. |
| 461 } | 461 } |
| 462 | 462 |
| 463 enum Mode { | 463 enum Mode { |
| 464 STORE_BUFFER_ONLY, | 464 STORE_BUFFER_ONLY, |
| 465 INCREMENTAL, | 465 INCREMENTAL, |
| 466 INCREMENTAL_COMPACTION | 466 INCREMENTAL_COMPACTION |
| 467 }; | 467 }; |
| 468 | 468 |
| 469 static Mode GetMode(Code* stub) { |
| 470 return STORE_BUFFER_ONLY; |
| 471 } |
| 472 |
| 469 static void Patch(Code* stub, Mode mode) { | 473 static void Patch(Code* stub, Mode mode) { |
| 470 ASSERT(mode == STORE_BUFFER_ONLY); | 474 ASSERT(mode == STORE_BUFFER_ONLY); |
| 471 } | 475 } |
| 472 | 476 |
| 473 private: | 477 private: |
| 474 // This is a helper class for freeing up 3 scratch registers. The input is | 478 // This is a helper class for freeing up 3 scratch registers. The input is |
| 475 // two registers that must be preserved and one scratch register provided by | 479 // two registers that must be preserved and one scratch register provided by |
| 476 // the caller. | 480 // the caller. |
| 477 class RegisterAllocation { | 481 class RegisterAllocation { |
| 478 public: | 482 public: |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 | 817 |
| 814 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 818 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 815 | 819 |
| 816 LookupMode mode_; | 820 LookupMode mode_; |
| 817 }; | 821 }; |
| 818 | 822 |
| 819 | 823 |
| 820 } } // namespace v8::internal | 824 } } // namespace v8::internal |
| 821 | 825 |
| 822 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 826 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
| OLD | NEW |