Chromium Code Reviews| Index: src/ia32/lithium-codegen-ia32.h |
| diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
| index 21f60769b9579c7e9615475e1b90774dab0d907b..51e63fab6f9d49c2062f9745bd2f5def675d2f74 100644 |
| --- a/src/ia32/lithium-codegen-ia32.h |
| +++ b/src/ia32/lithium-codegen-ia32.h |
| @@ -83,7 +83,6 @@ class LCodeGen BASE_EMBEDDED { |
| Heap* heap() const { return isolate()->heap(); } |
| Zone* zone() const { return zone_; } |
| - // TODO(svenpanne) Use this consistently. |
| int LookupDestination(int block_id) const { |
| return chunk()->LookupDestination(block_id); |
| } |
| @@ -317,7 +316,8 @@ class LCodeGen BASE_EMBEDDED { |
| static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| void EmitGoto(int block); |
| - void EmitBranch(int left_block, int right_block, Condition cc); |
| + template<class InstrType> |
| + void EmitBranch(InstrType instr, Condition cc); |
|
Jakob Kummerow
2013/06/18 09:35:38
Instead of templatizing this, can you change the s
|
| void EmitNumberUntagD( |
| Register input, |
| Register temp, |