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); | |
96 | 92 |
97 // Sets the remembered set bit for [address+offset], where address is the | 93 // Sets the remembered set bit for [address+offset], where address is the |
98 // address of the heap object 'object'. The address must be in the first 8K | 94 // address of the heap object 'object'. The address must be in the first 8K |
99 // of an allocated page. The 'scratch' register is used in the | 95 // of an allocated page. The 'scratch' register is used in the |
100 // implementation and all 3 registers are clobbered by the operation, as | 96 // implementation and all 3 registers are clobbered by the operation, as |
101 // well as the ip register. | 97 // well as the ip register. |
102 void RecordWrite(Register object, Register offset, Register scratch); | 98 void RecordWrite(Register object, Register offset, Register scratch); |
103 | 99 |
104 // --------------------------------------------------------------------------- | 100 // --------------------------------------------------------------------------- |
105 // Activation frames | 101 // Activation frames |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 336 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
341 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 337 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
342 #else | 338 #else |
343 #define ACCESS_MASM(masm) masm-> | 339 #define ACCESS_MASM(masm) masm-> |
344 #endif | 340 #endif |
345 | 341 |
346 | 342 |
347 } } // namespace v8::internal | 343 } } // namespace v8::internal |
348 | 344 |
349 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 345 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |