summaryrefslogtreecommitdiff
path: root/lang/v8-devel
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-12-28 14:51:03 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-12-28 14:51:03 +0000
commit473ca169eda5414f117fca465208755b75656a78 (patch)
treeec06cf7dac8864342ca3bd56dc0b575fa8d16606 /lang/v8-devel
parentFix detection of freetype after the update to 2.5.2. (diff)
Fix build on i386.
Notes
Notes: svn path=/head/; revision=337874
Diffstat (limited to 'lang/v8-devel')
-rw-r--r--lang/v8-devel/files/patch-lithium-codegen-ia32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/v8-devel/files/patch-lithium-codegen-ia32.h b/lang/v8-devel/files/patch-lithium-codegen-ia32.h
new file mode 100644
index 000000000000..848718a8265b
--- /dev/null
+++ b/lang/v8-devel/files/patch-lithium-codegen-ia32.h
@@ -0,0 +1,11 @@
+--- src/ia32/lithium-codegen-ia32.h.orig 2013-12-28 22:35:15.000000000 +0800
++++ src/ia32/lithium-codegen-ia32.h 2013-12-28 22:35:41.000000000 +0800
+@@ -426,7 +426,7 @@ class LCodeGen: public LCodeGenBase {
+ explicit X87Stack(MacroAssembler* masm)
+ : stack_depth_(0), is_mutable_(true), masm_(masm) { }
+ explicit X87Stack(const X87Stack& other)
+- : stack_depth_(other.stack_depth_), is_mutable_(false), masm_(masm()) {
++ : stack_depth_(other.stack_depth_), is_mutable_(false), masm_(NULL) {
+ for (int i = 0; i < stack_depth_; i++) {
+ stack_[i] = other.stack_[i];
+ }