Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 101123004: Disable tracking of double fields during snapshot creation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove flag from DoStoreNamedField Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4118 matching lines...) Expand 10 before | Expand all | Expand 10 after
4129 } 4129 }
4130 4130
4131 Handle<Map> transition = instr->transition(); 4131 Handle<Map> transition = instr->transition();
4132 4132
4133 if (FLAG_track_heap_object_fields && representation.IsHeapObject()) { 4133 if (FLAG_track_heap_object_fields && representation.IsHeapObject()) {
4134 Register value = ToRegister(instr->value()); 4134 Register value = ToRegister(instr->value());
4135 if (!instr->hydrogen()->value()->type().IsHeapObject()) { 4135 if (!instr->hydrogen()->value()->type().IsHeapObject()) {
4136 __ SmiTst(value); 4136 __ SmiTst(value);
4137 DeoptimizeIf(eq, instr->environment()); 4137 DeoptimizeIf(eq, instr->environment());
4138 } 4138 }
4139 } else if (FLAG_track_double_fields && representation.IsDouble()) { 4139 } else if (representation.IsDouble()) {
4140 ASSERT(transition.is_null()); 4140 ASSERT(transition.is_null());
4141 ASSERT(access.IsInobject()); 4141 ASSERT(access.IsInobject());
4142 ASSERT(!instr->hydrogen()->NeedsWriteBarrier()); 4142 ASSERT(!instr->hydrogen()->NeedsWriteBarrier());
4143 DwVfpRegister value = ToDoubleRegister(instr->value()); 4143 DwVfpRegister value = ToDoubleRegister(instr->value());
4144 __ vstr(value, FieldMemOperand(object, offset)); 4144 __ vstr(value, FieldMemOperand(object, offset));
4145 return; 4145 return;
4146 } 4146 }
4147 4147
4148 if (!transition.is_null()) { 4148 if (!transition.is_null()) {
4149 __ mov(scratch, Operand(transition)); 4149 __ mov(scratch, Operand(transition));
(...skipping 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after
5818 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); 5818 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index));
5819 __ ldr(result, FieldMemOperand(scratch, 5819 __ ldr(result, FieldMemOperand(scratch,
5820 FixedArray::kHeaderSize - kPointerSize)); 5820 FixedArray::kHeaderSize - kPointerSize));
5821 __ bind(&done); 5821 __ bind(&done);
5822 } 5822 }
5823 5823
5824 5824
5825 #undef __ 5825 #undef __
5826 5826
5827 } } // namespace v8::internal 5827 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698