Commit 07085da5 authored by ishell@chromium.org's avatar ishell@chromium.org

Fixes for Windows and Mac builds after r25250.

R=verwaest@chromium.org
TBR=verwaest@chromium.org

Review URL: https://codereview.chromium.org/717573002

Cr-Commit-Position: refs/heads/master@{#25251}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25251 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f133ac50
......@@ -153,7 +153,6 @@ LayoutDescriptor* LayoutDescriptor::cast_gc_safe(Object* object) {
InobjectPropertiesHelper::InobjectPropertiesHelper(Map* map)
: all_fields_tagged_(true),
header_size_(0),
inobject_properties_count_(0),
layout_descriptor_(LayoutDescriptor::FastPointerLayout()) {
if (!FLAG_unbox_double_fields) return;
......
......@@ -118,7 +118,6 @@ class InobjectPropertiesHelper {
private:
bool all_fields_tagged_;
int header_size_;
int inobject_properties_count_;
LayoutDescriptor* layout_descriptor_;
};
}
......
......@@ -7378,9 +7378,10 @@ void ExternalTwoByteString::ExternalTwoByteStringIterateBody() {
}
static void IterateBodyUsingLayoutDescriptor(HeapObject* object,
int start_offset, int end_offset,
ObjectVisitor* v) {
static inline void IterateBodyUsingLayoutDescriptor(HeapObject* object,
int start_offset,
int end_offset,
ObjectVisitor* v) {
DCHECK(FLAG_unbox_double_fields);
DCHECK(IsAligned(start_offset, kPointerSize) &&
IsAligned(end_offset, kPointerSize));
......
......@@ -353,7 +353,7 @@ void StringStream::PrintUsingMap(JSObject* js_object) {
FieldIndex index = FieldIndex::ForDescriptor(map, i);
if (js_object->IsUnboxedDoubleField(index)) {
double value = js_object->RawFastDoublePropertyAt(index);
Add("<unboxed double> %.16g\n", value);
Add("<unboxed double> %.16g\n", FmtElm(value));
} else {
Object* value = js_object->RawFastPropertyAt(index);
Add("%o\n", value);
......
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