Update to V8 with partial snapshots. This is taken from the partial_snapshot branch of V8.
diff --git a/src/frames.cc b/src/frames.cc
index e56a2c8..0550740 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -355,6 +355,7 @@
void StackFrame::Cook() {
Code* code = this->code();
+ ASSERT(code->IsCode());
for (StackHandlerIterator it(this, top_handler()); !it.done(); it.Advance()) {
it.handler()->Cook(code);
}
@@ -365,6 +366,7 @@
void StackFrame::Uncook() {
Code* code = this->code();
+ ASSERT(code->IsCode());
for (StackHandlerIterator it(this, top_handler()); !it.done(); it.Advance()) {
it.handler()->Uncook(code);
}