Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 2368001: Get rid of LoadAndSpill on ARM since Load() knows whether it is... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Check if object is in new space. 112 // Check if object is in new space.
113 // scratch can be object itself, but it will be clobbered. 113 // scratch can be object itself, but it will be clobbered.
114 void InNewSpace(Register object, 114 void InNewSpace(Register object,
115 Register scratch, 115 Register scratch,
116 Condition cc, // eq for new space, ne otherwise 116 Condition cc, // eq for new space, ne otherwise
117 Label* branch); 117 Label* branch);
118 118
119 119
120 // For the page containing |object| mark the region covering [object+offset] 120 // For the page containing |object| mark the region covering [object+offset]
121 // dirty. The object address must be in the first 8K of an allocated page. 121 // dirty. The object address must be in the first 8K of an allocated page.
122 void RecordWriteHelper(Register object, Register offset, Register scracth); 122 void RecordWriteHelper(Register object, Register offset, Register scratch);
123 123
124 // For the page containing |object| mark the region covering [object+offset] 124 // For the page containing |object| mark the region covering [object+offset]
125 // dirty. The object address must be in the first 8K of an allocated page. 125 // dirty. The object address must be in the first 8K of an allocated page.
126 // The 'scratch' register is used in the implementation and all 3 registers 126 // The 'scratch' register is used in the implementation and all 3 registers
127 // are clobbered by the operation, as well as the ip register. 127 // are clobbered by the operation, as well as the ip register.
128 void RecordWrite(Register object, Register offset, Register scratch); 128 void RecordWrite(Register object, Register offset, Register scratch);
129 129
130 // Push two registers. Pushes leftmost register first (to highest address). 130 // Push two registers. Pushes leftmost register first (to highest address).
131 void Push(Register src1, Register src2, Condition cond = al) { 131 void Push(Register src1, Register src2, Condition cond = al) {
132 ASSERT(!src1.is(src2)); 132 ASSERT(!src1.is(src2));
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 658 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
659 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 659 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
660 #else 660 #else
661 #define ACCESS_MASM(masm) masm-> 661 #define ACCESS_MASM(masm) masm->
662 #endif 662 #endif
663 663
664 664
665 } } // namespace v8::internal 665 } } // namespace v8::internal
666 666
667 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 667 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698