Revision: 22932
Author:   [email protected]
Date:     Wed Aug  6 13:18:49 2014 UTC
Log:      Check for initialized code stub descriptor in the deoptimizer.

[email protected]

Review URL: https://codereview.chromium.org/448683002
http://code.google.com/p/v8/source/detail?r=22932

Modified:
 /branches/bleeding_edge/src/deoptimizer.cc

=======================================
--- /branches/bleeding_edge/src/deoptimizer.cc  Mon Aug  4 11:34:54 2014 UTC
+++ /branches/bleeding_edge/src/deoptimizer.cc  Wed Aug  6 13:18:49 2014 UTC
@@ -1624,6 +1624,9 @@
   int major_key = CodeStub::GetMajorKey(compiled_code_);
   CodeStubInterfaceDescriptor* descriptor =
       isolate_->code_stub_interface_descriptor(major_key);
+  // Check that there is a matching descriptor to the major key.
+  // This will fail if there has not been one installed to the isolate.
+  DCHECK_EQ(descriptor->MajorKey(), major_key);

   // The output frame must have room for all pushed register parameters
   // and the standard stack frame slots.  Include space for an argument

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to