comparison src/share/vm/c1/c1_LIRGenerator.hpp @ 6006:0105f367a14c

7160570: Intrinsification support for tracing framework Reviewed-by: sla, never
author rbackman
date Tue, 06 Mar 2012 12:36:59 +0100
parents 701a83c86f28
children 8f37087fc13f
comparison
equal deleted inserted replaced
6005:c263e0e9f14b 6006:0105f367a14c
1 /* 1 /*
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
423 void init(); 423 void init();
424 424
425 SwitchRangeArray* create_lookup_ranges(TableSwitch* x); 425 SwitchRangeArray* create_lookup_ranges(TableSwitch* x);
426 SwitchRangeArray* create_lookup_ranges(LookupSwitch* x); 426 SwitchRangeArray* create_lookup_ranges(LookupSwitch* x);
427 void do_SwitchRanges(SwitchRangeArray* x, LIR_Opr value, BlockBegin* default_sux); 427 void do_SwitchRanges(SwitchRangeArray* x, LIR_Opr value, BlockBegin* default_sux);
428
429 void do_RuntimeCall(address routine, int expected_arguments, Intrinsic* x);
430 #ifdef TRACE_HAVE_INTRINSICS
431 void do_ThreadIDIntrinsic(Intrinsic* x);
432 void do_ClassIDIntrinsic(Intrinsic* x);
433 #endif
428 434
429 public: 435 public:
430 Compilation* compilation() const { return _compilation; } 436 Compilation* compilation() const { return _compilation; }
431 FrameMap* frame_map() const { return _compilation->frame_map(); } 437 FrameMap* frame_map() const { return _compilation->frame_map(); }
432 ciMethod* method() const { return _method; } 438 ciMethod* method() const { return _method; }