Version 3.20.16

Fixed bug in HPhi::SimplifyConstantInput (Chromium issue 269679)

Fixed gcmole bugs in i18n code (issue 2745)

ia32: Calls to the TranscendentalCacheStub must ensure that esi is set (issue 2827)

Made sure polymorphic element access creates non-replaying phis. (issue 2815)

Allowed HPhis to have an invalid merge index. (issue 2815)

Fixed smi-based math floor. (Chromium issue 270268)

Deprecated self and total time getters and total sample count getter on CpuProfileNode. (Chromium issue 267595)

Fixed Object.freeze, Object.observe wrt CountOperation and CompoundAssignment. (issue 2774,2779)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@16177 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/Makefile b/Makefile
index 499f6cb..288c257 100644
--- a/Makefile
+++ b/Makefile
@@ -192,6 +192,7 @@
 
 # ----------------- available targets: --------------------
 # - "dependencies": pulls in external dependencies (currently: GYP)
+# - "grokdump": rebuilds heap constants lists used by grokdump
 # - any arch listed in ARCHES (see below)
 # - any mode listed in MODES
 # - every combination <arch>.<mode>, e.g. "ia32.release"
@@ -392,7 +393,7 @@
 # Replaces the old with the new environment file if they're different, which
 # will trigger GYP to regenerate Makefiles.
 $(ENVFILE): $(ENVFILE).new
-	@if test -r $(ENVFILE) && cmp $(ENVFILE).new $(ENVFILE) >/dev/null; \
+	@if test -r $(ENVFILE) && cmp $(ENVFILE).new $(ENVFILE) > /dev/null; \
 	    then rm $(ENVFILE).new; \
 	    else mv $(ENVFILE).new $(ENVFILE); fi
 
@@ -401,6 +402,12 @@
 	@mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \
 	    echo "CXX=$(CXX)" >> $(ENVFILE).new
 
+# Heap constants for grokdump.
+DUMP_FILE = tools/v8heapconst.py
+grokdump: ia32.release
+	@cat $(DUMP_FILE).tmpl > $(DUMP_FILE)
+	@$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE)
+
 # Dependencies.
 # Remember to keep these in sync with the DEPS file.
 dependencies: