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

Side by Side Diff: src/mips/lithium-codegen-mips.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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
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 4034 matching lines...) Expand 10 before | Expand all | Expand 10 after
4045 } 4045 }
4046 4046
4047 Handle<Map> transition = instr->transition(); 4047 Handle<Map> transition = instr->transition();
4048 4048
4049 if (FLAG_track_heap_object_fields && representation.IsHeapObject()) { 4049 if (FLAG_track_heap_object_fields && representation.IsHeapObject()) {
4050 Register value = ToRegister(instr->value()); 4050 Register value = ToRegister(instr->value());
4051 if (!instr->hydrogen()->value()->type().IsHeapObject()) { 4051 if (!instr->hydrogen()->value()->type().IsHeapObject()) {
4052 __ SmiTst(value, scratch); 4052 __ SmiTst(value, scratch);
4053 DeoptimizeIf(eq, instr->environment(), scratch, Operand(zero_reg)); 4053 DeoptimizeIf(eq, instr->environment(), scratch, Operand(zero_reg));
4054 } 4054 }
4055 } else if (FLAG_track_double_fields && representation.IsDouble()) { 4055 } else if (representation.IsDouble()) {
4056 ASSERT(transition.is_null()); 4056 ASSERT(transition.is_null());
4057 ASSERT(access.IsInobject()); 4057 ASSERT(access.IsInobject());
4058 ASSERT(!instr->hydrogen()->NeedsWriteBarrier()); 4058 ASSERT(!instr->hydrogen()->NeedsWriteBarrier());
4059 DoubleRegister value = ToDoubleRegister(instr->value()); 4059 DoubleRegister value = ToDoubleRegister(instr->value());
4060 __ sdc1(value, FieldMemOperand(object, offset)); 4060 __ sdc1(value, FieldMemOperand(object, offset));
4061 return; 4061 return;
4062 } 4062 }
4063 4063
4064 if (!transition.is_null()) { 4064 if (!transition.is_null()) {
4065 __ li(scratch, Operand(transition)); 4065 __ li(scratch, Operand(transition));
(...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after
5808 __ Subu(scratch, result, scratch); 5808 __ Subu(scratch, result, scratch);
5809 __ lw(result, FieldMemOperand(scratch, 5809 __ lw(result, FieldMemOperand(scratch,
5810 FixedArray::kHeaderSize - kPointerSize)); 5810 FixedArray::kHeaderSize - kPointerSize));
5811 __ bind(&done); 5811 __ bind(&done);
5812 } 5812 }
5813 5813
5814 5814
5815 #undef __ 5815 #undef __
5816 5816
5817 } } // namespace v8::internal 5817 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698