Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 97 for typechecker (0.47 sec)

  1. src/cmd/compile/internal/walk/builtin.go

    		fnname = "makeslice"
    		argtype = types.Types[types.TINT]
    	}
    	fn := typecheck.LookupRuntime(fnname)
    	ptr := mkcall1(fn, types.Types[types.TUNSAFEPTR], init, reflectdata.MakeSliceElemRType(base.Pos, n), typecheck.Conv(len, argtype), typecheck.Conv(cap, argtype))
    	ptr.MarkNonNil()
    	len = typecheck.Conv(len, types.Types[types.TINT])
    	cap = typecheck.Conv(cap, types.Types[types.TINT])
    	sh := ir.NewSliceHeaderExpr(base.Pos, t, ptr, len, cap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/useConfigurationScript/groovycompilerconfig.groovy

    import groovy.transform.TypeChecked
    
    withConfig(configuration) {
        ast(TypeChecked)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 88 bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/integTest/resources/org/gradle/groovy/compile/IncrementalGroovyCompileIntegrationTest/failsCompilationWhenConfigScriptIsUpdated/newgroovycompilerconfig.groovy

    import groovy.transform.TypeChecked
    
    withConfig(configuration) {
        ast(TypeChecked)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 88 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/select.go

    			dflt = cas
    			continue
    		}
    		switch n.Op() {
    		case ir.OSEND:
    			n := n.(*ir.SendStmt)
    			n.Value = typecheck.NodAddr(n.Value)
    			n.Value = typecheck.Expr(n.Value)
    
    		case ir.OSELRECV2:
    			n := n.(*ir.AssignListStmt)
    			if !ir.IsBlank(n.Lhs[0]) {
    				n.Lhs[0] = typecheck.NodAddr(n.Lhs[0])
    				n.Lhs[0] = typecheck.Expr(n.Lhs[0])
    			}
    		}
    	}
    
    	// optimization: two-case select but one is default: single non-blocking op.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	asanName.Class = ir.PEXTERN
    	symL.Def = asanName
    	typecheck.Target.Externs = append(typecheck.Target.Externs, asanName)
    
    	symL = lname(".asanModulename")
    	asanModulename := ir.NewNameAt(base.Pos, symL, types.Types[types.TSTRING])
    	asanModulename.Class = ir.PEXTERN
    	symL.Def = asanModulename
    	typecheck.Target.Externs = append(typecheck.Target.Externs, asanModulename)
    
    	symL = lname(".asanFilename")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/configurationScriptNotSupported/groovycompilerconfig.groovy

     * limitations under the License.
     */
    
    package org.gradle.groovy.compile.BasicGroovyCompilerIntegrationSpec.configurationScriptNotSupported
    
    import groovy.transform.TypeChecked
    
    withConfig(configuration) {
        ast(TypeChecked)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 807 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/order.go

    								init = init[1:]
    							}
    						}
    						dcl := typecheck.Stmt(ir.NewDecl(base.Pos, ir.ODCL, n.(*ir.Name)))
    						ncas.PtrInit().Append(dcl)
    					}
    					tmp := o.newTemp(t, t.HasPointers())
    					as := typecheck.Stmt(ir.NewAssignStmt(base.Pos, n, typecheck.Conv(tmp, n.Type())))
    					ncas.PtrInit().Append(as)
    					r.Lhs[i] = tmp
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/temp.go

    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    }
    
    // stackTempAddr returns the expression &tmp, where tmp is a newly
    // allocated temporary variable of the given type. Statements to
    // zero-initialize tmp are appended to init.
    func stackTempAddr(init *ir.Nodes, typ *types.Type) *ir.AddrExpr {
    	n := typecheck.TempAt(base.Pos, ir.CurFunc, typ)
    	n.SetNonMergeable(true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/convert.go

    		data.SetTypecheck(1)
    
    		typeWord := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(types.Types[types.TUINT8]))
    		init.Append(ir.NewAssignStmt(base.Pos, typeWord, typecheck.Conv(typecheck.Conv(itab, types.Types[types.TUNSAFEPTR]), typeWord.Type())))
    		nif := ir.NewIfStmt(base.Pos, typecheck.Expr(ir.NewBinaryExpr(base.Pos, ir.ONE, typeWord, typecheck.NodNil())), nil, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/closure.go

    		check := ir.NewUnaryExpr(base.Pos, ir.OCHECKNIL, tab)
    		init.Append(typecheck.Stmt(check))
    	}
    
    	typ := typecheck.MethodValueType(n)
    
    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(n.Esc())
    	clos.List = []ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, methodValueWrapper(n)), n.X}
    
    	addr := typecheck.NodAddr(clos)
    	addr.SetEsc(n.Esc())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top