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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 153773002: A64: Synchronize with r16679. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: 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/hydrogen-instructions.h ('k') | src/ia32/assembler-ia32.h » ('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 3439 matching lines...) Expand 10 before | Expand all | Expand 10 after
3450 int32_t dominator_size = 3450 int32_t dominator_size =
3451 HConstant::cast(dominating_allocate_->size())->GetInteger32Constant(); 3451 HConstant::cast(dominating_allocate_->size())->GetInteger32Constant();
3452 HInstruction* free_space_instr = 3452 HInstruction* free_space_instr =
3453 HInnerAllocatedObject::New(zone, context(), dominating_allocate_, 3453 HInnerAllocatedObject::New(zone, context(), dominating_allocate_,
3454 dominator_size, type()); 3454 dominator_size, type());
3455 free_space_instr->InsertBefore(this); 3455 free_space_instr->InsertBefore(this);
3456 HConstant* filler_map = HConstant::New( 3456 HConstant* filler_map = HConstant::New(
3457 zone, 3457 zone,
3458 context(), 3458 context(),
3459 isolate()->factory()->free_space_map(), 3459 isolate()->factory()->free_space_map(),
3460 UniqueValueId(isolate()->heap()->free_space_map())); 3460 UniqueValueId::free_space_map(isolate()->heap()));
3461 filler_map->InsertAfter(free_space_instr); 3461 filler_map->InsertAfter(free_space_instr);
3462 HInstruction* store_map = HStoreNamedField::New(zone, context(), 3462 HInstruction* store_map = HStoreNamedField::New(zone, context(),
3463 free_space_instr, HObjectAccess::ForMap(), filler_map); 3463 free_space_instr, HObjectAccess::ForMap(), filler_map);
3464 store_map->SetFlag(HValue::kHasNoObservableSideEffects); 3464 store_map->SetFlag(HValue::kHasNoObservableSideEffects);
3465 store_map->InsertAfter(filler_map); 3465 store_map->InsertAfter(filler_map);
3466 3466
3467 // We must explicitly force Smi representation here because on x64 we 3467 // We must explicitly force Smi representation here because on x64 we
3468 // would otherwise automatically choose int32, but the actual store 3468 // would otherwise automatically choose int32, but the actual store
3469 // requires a Smi-tagged value. 3469 // requires a Smi-tagged value.
3470 HConstant* filler_size = HConstant::CreateAndInsertAfter( 3470 HConstant* filler_size = HConstant::CreateAndInsertAfter(
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
4240 break; 4240 break;
4241 case kExternalMemory: 4241 case kExternalMemory:
4242 stream->Add("[external-memory]"); 4242 stream->Add("[external-memory]");
4243 break; 4243 break;
4244 } 4244 }
4245 4245
4246 stream->Add("@%d", offset()); 4246 stream->Add("@%d", offset());
4247 } 4247 }
4248 4248
4249 } } // namespace v8::internal 4249 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698