Upgrade V8 to 5.1.281.57 DO NOT MERGE
FPIIM-449
Change-Id: Id981b686b4d587ac31697662eb98bb34be42ad90
(cherry picked from commit 3b9bc31999c9787eb726ecdbfd5796bfdec32a18)
diff --git a/Makefile b/Makefile
index 4fb6ee0..a0c08a6 100644
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,9 @@
ifdef embedscript
GYPFLAGS += -Dembed_script=$(embedscript)
endif
+ifdef warmupscript
+ GYPFLAGS += -Dwarmup_script=$(warmupscript)
+endif
ifeq ($(goma), on)
GYPFLAGS += -Duse_goma=1
endif
@@ -219,6 +222,10 @@
ifeq ($(arm_test_noprobe), on)
GYPFLAGS += -Darm_test_noprobe=on
endif
+# Do not omit the frame pointer, needed for profiling with perf
+ifeq ($(no_omit_framepointer), on)
+ GYPFLAGS += -Drelease_extra_cflags=-fno-omit-frame-pointer
+endif
# ----------------- available targets: --------------------
# - "grokdump": rebuilds heap constants lists used by grokdump