comparison src/share/vm/opto/graphKit.hpp @ 17810:62c54fcc0a35

Merge
author kvn
date Tue, 25 Mar 2014 17:07:36 -0700
parents a9becfeecd1b 9ab9f254cfe2
children 00c8a1255912
comparison
equal deleted inserted replaced
17809:a433eb716ce1 17810:62c54fcc0a35
336 Node* AddP(Node* b, Node* a, Node* o) { return _gvn.transform(new (C) AddPNode(b, a, o)); } 336 Node* AddP(Node* b, Node* a, Node* o) { return _gvn.transform(new (C) AddPNode(b, a, o)); }
337 337
338 // Convert between int and long, and size_t. 338 // Convert between int and long, and size_t.
339 // (See macros ConvI2X, etc., in type.hpp for ConvI2X, etc.) 339 // (See macros ConvI2X, etc., in type.hpp for ConvI2X, etc.)
340 Node* ConvI2L(Node* offset); 340 Node* ConvI2L(Node* offset);
341 Node* ConvI2UL(Node* offset);
341 Node* ConvL2I(Node* offset); 342 Node* ConvL2I(Node* offset);
342 // Find out the klass of an object. 343 // Find out the klass of an object.
343 Node* load_object_klass(Node* object); 344 Node* load_object_klass(Node* object);
344 // Find out the length of an array. 345 // Find out the length of an array.
345 Node* load_array_length(Node* array); 346 Node* load_array_length(Node* array);
404 void record_profiled_parameters_for_speculation(); 405 void record_profiled_parameters_for_speculation();
405 406
406 // Use the type profile to narrow an object type. 407 // Use the type profile to narrow an object type.
407 Node* maybe_cast_profiled_receiver(Node* not_null_obj, 408 Node* maybe_cast_profiled_receiver(Node* not_null_obj,
408 ciKlass* require_klass, 409 ciKlass* require_klass,
409 ciKlass* spec, 410 ciKlass* spec,
410 bool safe_for_replace); 411 bool safe_for_replace);
411 412
412 // Cast obj to type and emit guard unless we had too many traps here already 413 // Cast obj to type and emit guard unless we had too many traps here already
413 Node* maybe_cast_profiled_obj(Node* obj, 414 Node* maybe_cast_profiled_obj(Node* obj,
414 ciKlass* type, 415 ciKlass* type,