Chromium Code Reviews| Index: src/top.h |
| =================================================================== |
| --- src/top.h (revision 6213) |
| +++ src/top.h (working copy) |
| @@ -32,12 +32,26 @@ |
| #include "compilation-cache.h" |
| #include "frames-inl.h" |
| #include "runtime-profiler.h" |
| -#include "simulator.h" |
| +#ifdef USE_SIMULATOR |
|
antonm
2011/01/21 17:56:36
why this change?
Zaheer
2011/01/24 09:43:31
There's a circular reference with introduction of
|
| +#ifdef V8_TARGET_ARCH_ARM |
| +namespace assembler { |
| + namespace arm { |
| + class Simulator; |
| + } |
| +} |
| +#elif V8_TARGET_ARCH_MIPS |
| +namespace assembler { |
| + namespace mips { |
| + class Simulator; |
| + } |
| +} |
| +#endif |
| +#endif // USE_SIMULATOR |
| + |
| namespace v8 { |
| namespace internal { |
| - |
| #define RETURN_IF_SCHEDULED_EXCEPTION() \ |
| if (Top::has_scheduled_exception()) return Top::PromoteScheduledException() |