Mercurial > hg > graal-jvmci-8
comparison src/gpu/hsail/vm/hsailKernelArguments.hpp @ 13904:3e7fa4fd9199
fixed C++ compilation error
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Feb 2014 23:28:16 +0100 |
parents | d9aad522d355 |
children | 3e9a960f0da1 |
comparison
equal
deleted
inserted
replaced
13903:a08b2fe89f47 | 13904:3e7fa4fd9199 |
---|---|
61 | 61 |
62 _length = args->length(); | 62 _length = args->length(); |
63 _parameter_count = ArgumentCount(signature).size(); | 63 _parameter_count = ArgumentCount(signature).size(); |
64 | 64 |
65 if (TraceGPUInteraction) { | 65 if (TraceGPUInteraction) { |
66 ResourceMark rm; | 66 char buf[O_BUFLEN]; |
67 tty->print_cr("[HSAIL] sig:%s args length=%d, _parameter_count=%d", signature->as_C_string(), _length, _parameter_count); | 67 tty->print_cr("[HSAIL] sig:%s args length=%d, _parameter_count=%d", signature->as_C_string(buf, O_BUFLEN), _length, _parameter_count); |
68 } | 68 } |
69 if (!_is_static) { | 69 if (!_is_static) { |
70 // First object in args should be 'this' | 70 // First object in args should be 'this' |
71 oop arg = args->obj_at(_index++); | 71 oop arg = args->obj_at(_index++); |
72 assert(arg->is_instance() && (! arg->is_array()), "First arg should be 'this'"); | 72 assert(arg->is_instance() && (! arg->is_array()), "First arg should be 'this'"); |