Commit 4a6b07f2 authored by Russ Cox's avatar Russ Cox

gc: enable inlining by default

R=lvd, r
CC=golang-dev
https://golang.org/cl/5531058
parent d03bfa8e
...@@ -235,6 +235,13 @@ main(int argc, char *argv[]) ...@@ -235,6 +235,13 @@ main(int argc, char *argv[])
exits(0); exits(0);
} ARGEND } ARGEND
// enable inlining. for now:
// default: inlining on. (debug['l'] == 1)
// -l: inlining off (debug['l'] == 0)
// -ll, -lll: inlining on again, with extra debugging (debug['l'] > 1)
if(debug['l'] <= 1)
debug['l'] = 1 - debug['l'];
if(argc < 1) if(argc < 1)
usage(); usage();
......
// errchk -0 $G -m $D/$F.go // errchk -0 $G -m -l $D/$F.go
// Copyright 2010 The Go Authors. All rights reserved. // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment