Chromium Code Reviews| Index: src/ia32/assembler-ia32.cc | 
| =================================================================== | 
| --- src/ia32/assembler-ia32.cc (revision 7748) | 
| +++ src/ia32/assembler-ia32.cc (working copy) | 
| @@ -1580,6 +1580,11 @@ | 
| } | 
| +int Assembler::CallSize(const Operand& adr) { | 
| + return 1 /* EMIT */ + adr.len_ /* emit_operand */; | 
| 
 
Kevin Millikin (Chromium)
2011/05/03 08:43:19
I find the inline comments distracting here.  I'd
 
Sven Panne
2011/05/03 09:09:54
Done.
 
 | 
| +} | 
| + | 
| + | 
| void Assembler::call(const Operand& adr) { | 
| positions_recorder()->WriteRecordedPositions(); | 
| EnsureSpace ensure_space(this); | 
| @@ -1589,6 +1594,11 @@ | 
| } | 
| +int Assembler::CallSize(Handle<Code> code, RelocInfo::Mode rmode) { | 
| + return 1 /* EMIT */ + sizeof(uint32_t) /* emit */; | 
| +} | 
| + | 
| + | 
| void Assembler::call(Handle<Code> code, | 
| RelocInfo::Mode rmode, | 
| unsigned ast_id) { |