Rollback of r14496 in trunk branch.

frames.h/cc cleanup

BUG=None
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/14638006

git-svn-id: http://v8.googlecode.com/svn/trunk@14500 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/frames.cc b/src/frames.cc
index a389df4..aaf8c79 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -168,6 +168,7 @@
         reinterpret_cast<Address*>(StandardFrame::ComputePCAddress(fp_)));
     type = StackFrame::ComputeType(isolate(), &state);
   }
+  if (SingletonFor(type) == NULL) return;
   frame_ = SingletonFor(type, &state);
 }