Version 3.7.12

Increase tick interval for the android platform.

Fix a bug in the register allocator. (chromium:105112)

Fix handling of recompiling code. (chromium:105375, v8:1782)

Start incremental marking on idle notification. (v8:1458)

Build fixes for various platforms.

Various performance improvements.

git-svn-id: http://v8.googlecode.com/svn/trunk@10105 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index 960700b..04086d4 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -362,7 +362,7 @@
 }
 
 
-void FullCodeGenerator::PrepareForBailoutForId(int id, State state) {
+void FullCodeGenerator::PrepareForBailoutForId(unsigned id, State state) {
   // There's no need to prepare this code for bailouts from already optimized
   // code or code that can't be optimized.
   if (!FLAG_deopt || !info_->HasDeoptimizationSupport()) return;
@@ -383,10 +383,11 @@
 }
 
 
-void FullCodeGenerator::RecordStackCheck(int ast_id) {
+void FullCodeGenerator::RecordStackCheck(unsigned ast_id) {
   // The pc offset does not need to be encoded and packed together with a
   // state.
-  BailoutEntry entry = { ast_id, masm_->pc_offset() };
+  ASSERT(masm_->pc_offset() > 0);
+  BailoutEntry entry = { ast_id, static_cast<unsigned>(masm_->pc_offset()) };
   stack_checks_.Add(entry);
 }