OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 public: | 82 public: |
83 void Jump(Register target, Condition cond = al); | 83 void Jump(Register target, Condition cond = al); |
84 void Jump(byte* target, RelocInfo::Mode rmode, Condition cond = al); | 84 void Jump(byte* target, RelocInfo::Mode rmode, Condition cond = al); |
85 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); | 85 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
86 void Call(Register target, Condition cond = al); | 86 void Call(Register target, Condition cond = al); |
87 void Call(byte* target, RelocInfo::Mode rmode, Condition cond = al); | 87 void Call(byte* target, RelocInfo::Mode rmode, Condition cond = al); |
88 void Call(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); | 88 void Call(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
89 void Ret(Condition cond = al); | 89 void Ret(Condition cond = al); |
90 // Jumps to the label at the index given by the Smi in "index". | 90 // Jumps to the label at the index given by the Smi in "index". |
91 void SmiJumpTable(Register index, Vector<Label*> targets); | 91 void SmiJumpTable(Register index, Vector<Label*> targets); |
| 92 // Load an object from the root table. |
| 93 void LoadRoot(Register destination, |
| 94 Heap::RootListIndex index, |
| 95 Condition cond = al); |
92 | 96 |
93 // Sets the remembered set bit for [address+offset], where address is the | 97 // Sets the remembered set bit for [address+offset], where address is the |
94 // address of the heap object 'object'. The address must be in the first 8K | 98 // address of the heap object 'object'. The address must be in the first 8K |
95 // of an allocated page. The 'scratch' register is used in the | 99 // of an allocated page. The 'scratch' register is used in the |
96 // implementation and all 3 registers are clobbered by the operation, as | 100 // implementation and all 3 registers are clobbered by the operation, as |
97 // well as the ip register. | 101 // well as the ip register. |
98 void RecordWrite(Register object, Register offset, Register scratch); | 102 void RecordWrite(Register object, Register offset, Register scratch); |
99 | 103 |
100 // --------------------------------------------------------------------------- | 104 // --------------------------------------------------------------------------- |
101 // Activation frames | 105 // Activation frames |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 340 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
337 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 341 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
338 #else | 342 #else |
339 #define ACCESS_MASM(masm) masm-> | 343 #define ACCESS_MASM(masm) masm-> |
340 #endif | 344 #endif |
341 | 345 |
342 | 346 |
343 } } // namespace v8::internal | 347 } } // namespace v8::internal |
344 | 348 |
345 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 349 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |