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

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

Issue 10824235: Fix the full compiler on ARM to always generate the same code (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 4 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 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // responsibility of the caller to never invoke such function on the 103 // responsibility of the caller to never invoke such function on the
104 // macro assembler. 104 // macro assembler.
105 MacroAssembler(Isolate* isolate, void* buffer, int size); 105 MacroAssembler(Isolate* isolate, void* buffer, int size);
106 106
107 // Jump, Call, and Ret pseudo instructions implementing inter-working. 107 // Jump, Call, and Ret pseudo instructions implementing inter-working.
108 void Jump(Register target, Condition cond = al); 108 void Jump(Register target, Condition cond = al);
109 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); 109 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al);
110 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); 110 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
111 static int CallSize(Register target, Condition cond = al); 111 static int CallSize(Register target, Condition cond = al);
112 void Call(Register target, Condition cond = al); 112 void Call(Register target, Condition cond = al);
113 static int CallSize(Address target, 113 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al);
114 RelocInfo::Mode rmode, 114 static int CallSizeNotPredictableSize(Address target,
115 Condition cond = al); 115 RelocInfo::Mode rmode,
116 Condition cond = al);
Yang 2012/08/10 09:57:11 "Size" occurs twice in this method name. Intention
Erik Corry 2012/08/10 12:24:18 Changed from PredictableSize to PredictableCodeSiz
116 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al); 117 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al);
117 static int CallSize(Handle<Code> code, 118 int CallSize(Handle<Code> code,
118 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, 119 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
119 TypeFeedbackId ast_id = TypeFeedbackId::None(), 120 TypeFeedbackId ast_id = TypeFeedbackId::None(),
120 Condition cond = al); 121 Condition cond = al);
121 void Call(Handle<Code> code, 122 void Call(Handle<Code> code,
122 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, 123 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
123 TypeFeedbackId ast_id = TypeFeedbackId::None(), 124 TypeFeedbackId ast_id = TypeFeedbackId::None(),
124 Condition cond = al); 125 Condition cond = al);
125 void Ret(Condition cond = al); 126 void Ret(Condition cond = al);
126 127
127 // Emit code to discard a non-negative number of pointer-sized elements 128 // Emit code to discard a non-negative number of pointer-sized elements
128 // from the stack, clobbering only the sp register. 129 // from the stack, clobbering only the sp register.
129 void Drop(int count, Condition cond = al); 130 void Drop(int count, Condition cond = al);
130 131
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1389 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1389 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1390 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1390 #else 1391 #else
1391 #define ACCESS_MASM(masm) masm-> 1392 #define ACCESS_MASM(masm) masm->
1392 #endif 1393 #endif
1393 1394
1394 1395
1395 } } // namespace v8::internal 1396 } } // namespace v8::internal
1396 1397
1397 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1398 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698