Commit 5f1157d3 authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

Rename src/float.h to src/boxed-float.h

Apparently the name float.h causes problems on Windows when V8 is
compiled with Visual Studio, see the bug description.

R=clemensh@chromium.org

Bug: v8:6588
Change-Id: Iaa9c1e93e62509a779f1a8ddecbb03a53981cf8a
Reviewed-on: https://chromium-review.googlesource.com/578029Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46791}
parent 4037ad6b
...@@ -1175,6 +1175,7 @@ v8_source_set("v8_base") { ...@@ -1175,6 +1175,7 @@ v8_source_set("v8_base") {
"src/bit-vector.h", "src/bit-vector.h",
"src/bootstrapper.cc", "src/bootstrapper.cc",
"src/bootstrapper.h", "src/bootstrapper.h",
"src/boxed-float.h",
"src/builtins/builtins-api.cc", "src/builtins/builtins-api.cc",
"src/builtins/builtins-array.cc", "src/builtins/builtins-array.cc",
"src/builtins/builtins-arraybuffer.cc", "src/builtins/builtins-arraybuffer.cc",
...@@ -1532,7 +1533,6 @@ v8_source_set("v8_base") { ...@@ -1532,7 +1533,6 @@ v8_source_set("v8_base") {
"src/flag-definitions.h", "src/flag-definitions.h",
"src/flags.cc", "src/flags.cc",
"src/flags.h", "src/flags.h",
"src/float.h",
"src/frames-inl.h", "src/frames-inl.h",
"src/frames.cc", "src/frames.cc",
"src/frames.h", "src/frames.h",
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
#include "src/arm/constants-arm.h" #include "src/arm/constants-arm.h"
#include "src/assembler.h" #include "src/assembler.h"
#include "src/boxed-float.h"
#include "src/double.h" #include "src/double.h"
#include "src/float.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef V8_FLOAT32_H_ #ifndef V8_BOXED_FLOAT_H_
#define V8_FLOAT32_H_ #define V8_BOXED_FLOAT_H_
#include "src/base/macros.h" #include "src/base/macros.h"
...@@ -54,4 +54,4 @@ class Float64 { ...@@ -54,4 +54,4 @@ class Float64 {
} // namespace internal } // namespace internal
} // namespace v8 } // namespace v8
#endif // V8_FLOAT32_H_ #endif // V8_BOXED_FLOAT_H_
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
#include "src/arm/macro-assembler-arm.h" #include "src/arm/macro-assembler-arm.h"
#include "src/assembler-inl.h" #include "src/assembler-inl.h"
#include "src/boxed-float.h"
#include "src/compilation-info.h" #include "src/compilation-info.h"
#include "src/compiler/code-generator-impl.h" #include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h" #include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h" #include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h" #include "src/compiler/osr.h"
#include "src/double.h" #include "src/double.h"
#include "src/float.h"
#include "src/heap/heap-inl.h" #include "src/heap/heap-inl.h"
namespace v8 { namespace v8 {
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
#define V8_DEOPTIMIZER_H_ #define V8_DEOPTIMIZER_H_
#include "src/allocation.h" #include "src/allocation.h"
#include "src/boxed-float.h"
#include "src/deoptimize-reason.h" #include "src/deoptimize-reason.h"
#include "src/float.h"
#include "src/macro-assembler.h" #include "src/macro-assembler.h"
#include "src/source-position.h" #include "src/source-position.h"
#include "src/zone/zone-chunk-list.h" #include "src/zone/zone-chunk-list.h"
......
...@@ -619,6 +619,7 @@ ...@@ -619,6 +619,7 @@
'bit-vector.h', 'bit-vector.h',
'bootstrapper.cc', 'bootstrapper.cc',
'bootstrapper.h', 'bootstrapper.h',
'boxed-float.h',
'builtins/builtins-api.cc', 'builtins/builtins-api.cc',
'builtins/builtins-arraybuffer.cc', 'builtins/builtins-arraybuffer.cc',
'builtins/builtins-array.cc', 'builtins/builtins-array.cc',
...@@ -976,7 +977,6 @@ ...@@ -976,7 +977,6 @@
'flag-definitions.h', 'flag-definitions.h',
'flags.cc', 'flags.cc',
'flags.h', 'flags.h',
'float.h',
'frames-inl.h', 'frames-inl.h',
'frames.cc', 'frames.cc',
'frames.h', 'frames.h',
......
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
#include <stdlib.h> #include <stdlib.h>
#include "src/assembler-inl.h" #include "src/assembler-inl.h"
#include "src/boxed-float.h"
#include "src/debug/debug.h" #include "src/debug/debug.h"
#include "src/disasm.h" #include "src/disasm.h"
#include "src/disassembler.h" #include "src/disassembler.h"
#include "src/double.h" #include "src/double.h"
#include "src/float.h"
#include "src/macro-assembler.h" #include "src/macro-assembler.h"
#include "src/objects-inl.h" #include "src/objects-inl.h"
#include "src/v8.h" #include "src/v8.h"
......
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