Version 3.17.12

Unified kMaxArguments with number of bits used to encode it. (Chromium issue 211741)

Fixed detection of |handle_smi| case in HOptimizedGraphBuilder::HandlePolymorphicCallNamed. (Chromium issue 196583)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@13971 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/heap.cc b/src/heap.cc
index 9ee64e3..67759e6 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -3785,7 +3785,11 @@
   ASSERT(!isolate_->code_range()->exists() ||
       isolate_->code_range()->contains(code->address()));
   code->set_instruction_size(desc.instr_size);
+  // TODO(mstarzinger): Remove once we found the bug.
+  CHECK(reloc_info->IsByteArray());
   code->set_relocation_info(reloc_info);
+  // TODO(mstarzinger): Remove once we found the bug.
+  CHECK(code->relocation_info()->IsByteArray());
   code->set_flags(flags);
   if (code->is_call_stub() || code->is_keyed_call_stub()) {
     code->set_check_type(RECEIVER_MAP_CHECK);