| Index: src/full-codegen.h
 | 
| diff --git a/src/full-codegen.h b/src/full-codegen.h
 | 
| index 0c3291932420836b5fa82086ad88806bfb78ca20..eca36b4470bf4b8e817f0788126df20149361405 100644
 | 
| --- a/src/full-codegen.h
 | 
| +++ b/src/full-codegen.h
 | 
| @@ -113,8 +113,20 @@ class FullCodeGenerator: public AstVisitor {
 | 
|  
 | 
|    Zone* zone() const { return zone_; }
 | 
|  
 | 
| -  static const int kMaxBackEdgeWeight;
 | 
| -  static const int kBackEdgeDistanceUnit;
 | 
| +  static const int kMaxBackEdgeWeight = 127;
 | 
| +
 | 
| +#if V8_TARGET_ARCH_IA32
 | 
| +  static const int kBackEdgeDistanceUnit = 100;
 | 
| +#elif V8_TARGET_ARCH_X64
 | 
| +  static const int kBackEdgeDistanceUnit = 162;
 | 
| +#elif V8_TARGET_ARCH_ARM
 | 
| +  static const int kBackEdgeDistanceUnit = 142;
 | 
| +#elif V8_TARGET_ARCH_MIPS
 | 
| +  static const int kBackEdgeDistanceUnit = 142;
 | 
| +#else
 | 
| +#error Unsupported target architecture.
 | 
| +#endif
 | 
| +
 | 
|  
 | 
|   private:
 | 
|    class Breakable;
 | 
| 
 |