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

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

Issue 7778013: NewGC: Merge bleeding edge up to 9009. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « src/arm/lithium-gap-resolver-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // The isolate parameter can be NULL if the macro assembler should 93 // The isolate parameter can be NULL if the macro assembler should
94 // not use isolate-dependent functionality. In this case, it's the 94 // not use isolate-dependent functionality. In this case, it's the
95 // responsibility of the caller to never invoke such function on the 95 // responsibility of the caller to never invoke such function on the
96 // macro assembler. 96 // macro assembler.
97 MacroAssembler(Isolate* isolate, void* buffer, int size); 97 MacroAssembler(Isolate* isolate, void* buffer, int size);
98 98
99 // Jump, Call, and Ret pseudo instructions implementing inter-working. 99 // Jump, Call, and Ret pseudo instructions implementing inter-working.
100 void Jump(Register target, Condition cond = al); 100 void Jump(Register target, Condition cond = al);
101 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); 101 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al);
102 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); 102 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al);
103 int CallSize(Register target, Condition cond = al); 103 static int CallSize(Register target, Condition cond = al);
104 void Call(Register target, Condition cond = al); 104 void Call(Register target, Condition cond = al);
105 int CallSize(Address target, RelocInfo::Mode rmode, Condition cond = al); 105 static int CallSize(Address target,
106 RelocInfo::Mode rmode,
107 Condition cond = al);
106 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al); 108 void Call(Address target, RelocInfo::Mode rmode, Condition cond = al);
107 int CallSize(Handle<Code> code, 109 static int CallSize(Handle<Code> code,
108 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, 110 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
109 unsigned ast_id = kNoASTId, 111 unsigned ast_id = kNoASTId,
110 Condition cond = al); 112 Condition cond = al);
111 void Call(Handle<Code> code, 113 void Call(Handle<Code> code,
112 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, 114 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
113 unsigned ast_id = kNoASTId, 115 unsigned ast_id = kNoASTId,
114 Condition cond = al); 116 Condition cond = al);
115 void Ret(Condition cond = al); 117 void Ret(Condition cond = al);
116 118
117 // Emit code to discard a non-negative number of pointer-sized elements 119 // Emit code to discard a non-negative number of pointer-sized elements
118 // from the stack, clobbering only the sp register. 120 // from the stack, clobbering only the sp register.
119 void Drop(int count, Condition cond = al); 121 void Drop(int count, Condition cond = al);
120 122
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1243 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1242 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1244 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1243 #else 1245 #else
1244 #define ACCESS_MASM(masm) masm-> 1246 #define ACCESS_MASM(masm) masm->
1245 #endif 1247 #endif
1246 1248
1247 1249
1248 } } // namespace v8::internal 1250 } } // namespace v8::internal
1249 1251
1250 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1252 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-gap-resolver-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698