2178:8aa5fd5d2046 | 2179:ad0638ff8ea4 |
---|---|
356 static int number_of_instructions() { | 356 static int number_of_instructions() { |
357 return Compilation::current()->number_of_instructions(); | 357 return Compilation::current()->number_of_instructions(); |
358 } | 358 } |
359 | 359 |
360 // creation | 360 // creation |
361 Instruction(ValueType* type, ValueStack* state_before = NULL, bool type_is_constant = false, bool create_hi = true) | 361 Instruction(ValueType* type, ValueStack* state_before = NULL, bool type_is_constant = false) |
362 : _use_count(0) | 362 : _use_count(0) |
363 #ifndef PRODUCT | 363 #ifndef PRODUCT |
364 , _printable_bci(-99) | 364 , _printable_bci(-99) |
365 #endif | 365 #endif |
366 , _pin_state(0) | 366 , _pin_state(0) |
1964 | 1964 |
1965 LEAF(OsrEntry, Instruction) | 1965 LEAF(OsrEntry, Instruction) |
1966 public: | 1966 public: |
1967 // creation | 1967 // creation |
1968 #ifdef _LP64 | 1968 #ifdef _LP64 |
1969 OsrEntry() : Instruction(longType, false) { pin(); } | 1969 OsrEntry() : Instruction(longType) { pin(); } |
1970 #else | 1970 #else |
1971 OsrEntry() : Instruction(intType, false) { pin(); } | 1971 OsrEntry() : Instruction(intType) { pin(); } |
1972 #endif | 1972 #endif |
1973 | 1973 |
1974 // generic | 1974 // generic |
1975 virtual void input_values_do(ValueVisitor* f) { } | 1975 virtual void input_values_do(ValueVisitor* f) { } |
1976 }; | 1976 }; |
1978 | 1978 |
1979 // Models the incoming exception at a catch site | 1979 // Models the incoming exception at a catch site |
1980 LEAF(ExceptionObject, Instruction) | 1980 LEAF(ExceptionObject, Instruction) |
1981 public: | 1981 public: |
1982 // creation | 1982 // creation |
1983 ExceptionObject() : Instruction(objectType, false) { | 1983 ExceptionObject() : Instruction(objectType) { |
1984 pin(); | 1984 pin(); |
1985 } | 1985 } |
1986 | 1986 |
1987 // generic | 1987 // generic |
1988 virtual void input_values_do(ValueVisitor* f) { } | 1988 virtual void input_values_do(ValueVisitor* f) { } |