Mercurial > hg > truffle
comparison src/share/vm/opto/superword.cpp @ 221:1e026f8da827
6710487: More than half of JDI Regression tests hang with COOPs in -Xcomp mode
Summary: Remove DecodeNNode::decode() and EncodePNode::encode() methods.
Reviewed-by: rasbold, never
author | kvn |
---|---|
date | Tue, 24 Jun 2008 10:43:29 -0700 |
parents | ba764ed4b6f2 |
children | 9c2ecc2ffb12 |
comparison
equal
deleted
inserted
replaced
220:30369db7f5d2 | 221:1e026f8da827 |
---|---|
1422 } | 1422 } |
1423 | 1423 |
1424 //---------------------------container_type--------------------------- | 1424 //---------------------------container_type--------------------------- |
1425 // Smallest type containing range of values | 1425 // Smallest type containing range of values |
1426 const Type* SuperWord::container_type(const Type* t) { | 1426 const Type* SuperWord::container_type(const Type* t) { |
1427 if (t->isa_narrowoop()) t = t->is_narrowoop()->make_oopptr(); | 1427 const Type* tp = t->make_ptr(); |
1428 if (t->isa_aryptr()) { | 1428 if (tp && tp->isa_aryptr()) { |
1429 t = t->is_aryptr()->elem(); | 1429 t = tp->is_aryptr()->elem(); |
1430 } | 1430 } |
1431 if (t->basic_type() == T_INT) { | 1431 if (t->basic_type() == T_INT) { |
1432 if (t->higher_equal(TypeInt::BOOL)) return TypeInt::BOOL; | 1432 if (t->higher_equal(TypeInt::BOOL)) return TypeInt::BOOL; |
1433 if (t->higher_equal(TypeInt::BYTE)) return TypeInt::BYTE; | 1433 if (t->higher_equal(TypeInt::BYTE)) return TypeInt::BYTE; |
1434 if (t->higher_equal(TypeInt::CHAR)) return TypeInt::CHAR; | 1434 if (t->higher_equal(TypeInt::CHAR)) return TypeInt::CHAR; |