Chromium Code Reviews| Index: src/v8.cc |
| =================================================================== |
| --- src/v8.cc (revision 2053) |
| +++ src/v8.cc (working copy) |
| @@ -1,4 +1,4 @@ |
| -// Copyright 2006-2008 the V8 project authors. All rights reserved. |
| +// Copyright 2006-2009 the V8 project authors. All rights reserved. |
| // Redistribution and use in source and binary forms, with or without |
| // modification, are permitted provided that the following conditions are |
| // met: |
| @@ -33,6 +33,10 @@ |
| #include "stub-cache.h" |
| #include "oprofile-agent.h" |
| +#if V8_TARGET_ARCH_ARM |
| +#include "arm/simulator-arm.h" |
| +#endif |
| + |
| namespace v8 { |
| namespace internal { |
| @@ -62,6 +66,11 @@ |
| // Setup the platform OS support. |
| OS::Setup(); |
| + // Initialize other runtime facilities |
| +#if !defined(__arm__) && V8_TARGET_ARCH_ARM |
|
iposva
2009/06/08 21:48:41
For consistency we should start using V8_HOST_ARCH
Erik Corry
2009/06/09 09:27:00
done.
|
| + ::assembler::arm::Simulator::Initialize(); |
| +#endif |
| + |
| // Setup the object heap |
| ASSERT(!Heap::HasBeenSetup()); |
| if (!Heap::Setup(create_heap_objects)) { |
| @@ -69,7 +78,6 @@ |
| return false; |
| } |
| - // Initialize other runtime facilities |
| Bootstrapper::Initialize(create_heap_objects); |
| Builtins::Setup(create_heap_objects); |
| Top::Initialize(); |