Version 2.2.3
Added stack command and mem command to ARM simulator debugger.
Fixed scons snapshot and ARM build, and Windows X64 build issues.
Performance improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@4410 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/circular-queue.cc b/src/circular-queue.cc
index a7c2532..af650de 100644
--- a/src/circular-queue.cc
+++ b/src/circular-queue.cc
@@ -58,8 +58,10 @@
// updates of positions by different processor cores.
const int positions_size =
RoundUp(1, kProcessorCacheLineSize) +
- RoundUp(sizeof(ProducerPosition), kProcessorCacheLineSize) +
- RoundUp(sizeof(ConsumerPosition), kProcessorCacheLineSize);
+ RoundUp(static_cast<int>(sizeof(ProducerPosition)),
+ kProcessorCacheLineSize) +
+ RoundUp(static_cast<int>(sizeof(ConsumerPosition)),
+ kProcessorCacheLineSize);
positions_ = NewArray<byte>(positions_size);
producer_pos_ = reinterpret_cast<ProducerPosition*>(