Mercurial > hg > truffle
comparison src/share/vm/opto/superword.hpp @ 8079:ad736b4683b4
8004867: VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob"
Summary: Added few checks and early bailout from Superword optimization to avoid such cases in a future.
Reviewed-by: roland, twisti
author | kvn |
---|---|
date | Mon, 18 Feb 2013 16:47:15 -0800 |
parents | 8ae8f9dd7099 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8078:a2bc322ca273 | 8079:ad736b4683b4 |
---|---|
378 // If a use of pack p is not a vector use, then replace the use with an extract operation. | 378 // If a use of pack p is not a vector use, then replace the use with an extract operation. |
379 void insert_extracts(Node_List* p); | 379 void insert_extracts(Node_List* p); |
380 // Is use->in(u_idx) a vector use? | 380 // Is use->in(u_idx) a vector use? |
381 bool is_vector_use(Node* use, int u_idx); | 381 bool is_vector_use(Node* use, int u_idx); |
382 // Construct reverse postorder list of block members | 382 // Construct reverse postorder list of block members |
383 void construct_bb(); | 383 bool construct_bb(); |
384 // Initialize per node info | 384 // Initialize per node info |
385 void initialize_bb(); | 385 void initialize_bb(); |
386 // Insert n into block after pos | 386 // Insert n into block after pos |
387 void bb_insert_after(Node* n, int pos); | 387 void bb_insert_after(Node* n, int pos); |
388 // Compute max depth for expressions from beginning of block | 388 // Compute max depth for expressions from beginning of block |