equal
deleted
inserted
replaced
48 case T_ARRAY : i = 9; break; |
48 case T_ARRAY : i = 9; break; |
49 default : ShouldNotReachHere(); |
49 default : ShouldNotReachHere(); |
50 } |
50 } |
51 assert(0 <= i && i < AbstractInterpreter::number_of_result_handlers, "index out of bounds"); |
51 assert(0 <= i && i < AbstractInterpreter::number_of_result_handlers, "index out of bounds"); |
52 return i; |
52 return i; |
53 } |
|
54 |
|
55 // These should never be compiled since the interpreter will prefer the compiled |
|
56 // version to the intrinsic version. |
|
57 bool AbstractInterpreter::can_be_compiled(methodHandle m) { |
|
58 switch (method_kind(m)) { |
|
59 case Interpreter::java_lang_math_fmaD: |
|
60 case Interpreter::java_lang_math_fmaF: |
|
61 return false; |
|
62 default: |
|
63 break; |
|
64 } |
|
65 return true; |
|
66 } |
53 } |
67 |
54 |
68 static int size_activation_helper(int callee_extra_locals, int max_stack, int monitor_size) { |
55 static int size_activation_helper(int callee_extra_locals, int max_stack, int monitor_size) { |
69 |
56 |
70 // Figure out the size of an interpreter frame (in words) given that we have a fully allocated |
57 // Figure out the size of an interpreter frame (in words) given that we have a fully allocated |