| Index: src/profiler/sampler.h | 
| diff --git a/src/profiler/sampler.h b/src/profiler/sampler.h | 
| index f6804f8e25f7aa0a328a64b746cd8251115cad90..04c8f0446cb940d1397e33e4247e87ad77759139 100644 | 
| --- a/src/profiler/sampler.h | 
| +++ b/src/profiler/sampler.h | 
| @@ -141,6 +141,16 @@ class Sampler { | 
| }; | 
|  | 
|  | 
| +#if defined(USE_SIMULATOR) | 
| +class SimulatorHelper : AllStatic { | 
| + public: | 
| +  // Returns true if register values were successfully retrieved | 
| +  // from the simulator, otherwise returns false. | 
| +  static bool FillRegisters(Isolate* isolate, v8::RegisterState* state); | 
| +}; | 
| +#endif  // USE_SIMULATOR | 
| + | 
| + | 
| }  // namespace internal | 
| }  // namespace v8 | 
|  | 
|  |