Index: src/hashmap.cc |
diff --git a/src/hashmap.cc b/src/hashmap.cc |
index 3c4e5cdc60ddd2fe5530454422cb3bd8db15c7a6..561c7afc66c0cda8f01c36b0da658979b50c9be8 100644 |
--- a/src/hashmap.cc |
+++ b/src/hashmap.cc |
@@ -25,7 +25,10 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#include "v8.h" |
+#include "../include/v8stdint.h" |
+#include "globals.h" |
+#include "checks.h" |
+#include "allocation.h" |
#include "hashmap.h" |
@@ -195,7 +198,7 @@ void HashMap::Initialize(uint32_t capacity) { |
ASSERT(IsPowerOf2(capacity)); |
map_ = reinterpret_cast<Entry*>(allocator_->New(capacity * sizeof(Entry))); |
if (map_ == NULL) { |
- V8::FatalProcessOutOfMemory("HashMap::Initialize"); |
+ v8::internal::FatalProcessOutOfMemory("HashMap::Initialize"); |
return; |
} |
capacity_ = capacity; |