F2L.java revision 1113:2fdbfbde3bc0
1252190Srpaulo/*
2252190Srpaulo * reserved comment block
3252190Srpaulo * DO NOT REMOVE OR ALTER!
4252190Srpaulo */
5252190Srpaulo/*
6252190Srpaulo * Licensed to the Apache Software Foundation (ASF) under one or more
7252190Srpaulo * contributor license agreements.  See the NOTICE file distributed with
8252190Srpaulo * this work for additional information regarding copyright ownership.
9252190Srpaulo * The ASF licenses this file to You under the Apache License, Version 2.0
10252190Srpaulo * (the "License"); you may not use this file except in compliance with
11252190Srpaulo * the License.  You may obtain a copy of the License at
12252190Srpaulo *
13252190Srpaulo *      http://www.apache.org/licenses/LICENSE-2.0
14252190Srpaulo *
15252190Srpaulo * Unless required by applicable law or agreed to in writing, software
16252190Srpaulo * distributed under the License is distributed on an "AS IS" BASIS,
17252190Srpaulo * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18252190Srpaulo * See the License for the specific language governing permissions and
19252190Srpaulo * limitations under the License.
20252190Srpaulo */
21252190Srpaulo
22252190Srpaulopackage com.sun.org.apache.bcel.internal.generic;
23252190Srpaulo
24252190Srpaulo
25252190Srpaulo/**
26252190Srpaulo * F2L - Convert float to long
27252190Srpaulo * <PRE>Stack: ..., value -&gt; ..., result.word1, result.word2</PRE>
28252190Srpaulo *
29252190Srpaulo * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
30252190Srpaulo */
31252190Srpaulopublic class F2L extends ConversionInstruction {
32252190Srpaulo  /** Convert float to long
33252190Srpaulo   */
34252190Srpaulo  public F2L() {
35252190Srpaulo    super(com.sun.org.apache.bcel.internal.Constants.F2L);
36252190Srpaulo  }
37252190Srpaulo
38252190Srpaulo
39252190Srpaulo  /**
40252190Srpaulo   * Call corresponding visitor method(s). The order is:
41252190Srpaulo   * Call visitor methods of implemented interfaces first, then
42252190Srpaulo   * call methods according to the class hierarchy in descending order,
43252190Srpaulo   * i.e., the most specific visitXXX() call comes last.
44252190Srpaulo   *
45252190Srpaulo   * @param v Visitor object
46252190Srpaulo   */
47252190Srpaulo  public void accept(Visitor v) {
48252190Srpaulo    v.visitTypedInstruction(this);
49252190Srpaulo    v.visitStackProducer(this);
50252190Srpaulo    v.visitStackConsumer(this);
51252190Srpaulo    v.visitConversionInstruction(this);
52252190Srpaulo    v.visitF2L(this);
53252190Srpaulo  }
54252190Srpaulo}
55252190Srpaulo