< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BooleanType.java

Print this page




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /*
  27  * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
  28  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  29  *
  30  * This code is free software; you can redistribute it and/or modify it
  31  * under the terms of the GNU General Public License version 2 only, as
  32  * published by the Free Software Foundation.  Oracle designates this
  33  * particular file as subject to the "Classpath" exception as provided
  34  * by Oracle in the LICENSE file that accompanied this code.
  35  *
  36  * This code is distributed in the hope that it will be useful, but WITHOUT
  37  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  38  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  39  * version 2 for more details (a copy is included in the LICENSE file that
  40  * accompanied this code).
  41  *
  42  * You should have received a copy of the GNU General Public License version
  43  * 2 along with this work; if not, write to the Free Software Foundation,
  44  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  45  *
  46  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  47  * or visit www.oracle.com if you need additional information or have any
  48  * questions.
  49  */
  50 
  51 package jdk.nashorn.internal.codegen.types;
  52 
  53 import static jdk.internal.org.objectweb.asm.Opcodes.I2D;
  54 import static jdk.internal.org.objectweb.asm.Opcodes.I2L;
  55 import static jdk.internal.org.objectweb.asm.Opcodes.IADD;
  56 import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_0;
  57 import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_1;
  58 import static jdk.internal.org.objectweb.asm.Opcodes.ILOAD;
  59 import static jdk.internal.org.objectweb.asm.Opcodes.IRETURN;
  60 import static jdk.internal.org.objectweb.asm.Opcodes.ISTORE;
  61 import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
  62 import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_INT;
  63 import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
  64 
  65 import jdk.internal.org.objectweb.asm.MethodVisitor;
  66 import jdk.nashorn.internal.codegen.CompilerConstants;
  67 
  68 /**
  69  * The boolean type class
  70  */




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 

























  26 package jdk.nashorn.internal.codegen.types;
  27 
  28 import static jdk.internal.org.objectweb.asm.Opcodes.I2D;
  29 import static jdk.internal.org.objectweb.asm.Opcodes.I2L;
  30 import static jdk.internal.org.objectweb.asm.Opcodes.IADD;
  31 import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_0;
  32 import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_1;
  33 import static jdk.internal.org.objectweb.asm.Opcodes.ILOAD;
  34 import static jdk.internal.org.objectweb.asm.Opcodes.IRETURN;
  35 import static jdk.internal.org.objectweb.asm.Opcodes.ISTORE;
  36 import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
  37 import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_INT;
  38 import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
  39 
  40 import jdk.internal.org.objectweb.asm.MethodVisitor;
  41 import jdk.nashorn.internal.codegen.CompilerConstants;
  42 
  43 /**
  44  * The boolean type class
  45  */


< prev index next >