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

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

Issue 7132002: Remove RESTORE_CONTEXT flag from ia32 crankshaft codegen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: last linting changes Created 9 years, 5 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/lithium-codegen-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 stream->Add("%u", index()); 1261 stream->Add("%u", index());
1262 } 1262 }
1263 1263
1264 1264
1265 void HLoadNamedField::PrintDataTo(StringStream* stream) { 1265 void HLoadNamedField::PrintDataTo(StringStream* stream) {
1266 object()->PrintNameTo(stream); 1266 object()->PrintNameTo(stream);
1267 stream->Add(" @%d%s", offset(), is_in_object() ? "[in-object]" : ""); 1267 stream->Add(" @%d%s", offset(), is_in_object() ? "[in-object]" : "");
1268 } 1268 }
1269 1269
1270 1270
1271 HLoadNamedFieldPolymorphic::HLoadNamedFieldPolymorphic(HValue* object, 1271 HLoadNamedFieldPolymorphic::HLoadNamedFieldPolymorphic(HValue* context,
1272 HValue* object,
1272 ZoneMapList* types, 1273 ZoneMapList* types,
1273 Handle<String> name) 1274 Handle<String> name)
1274 : HUnaryOperation(object), 1275 : types_(Min(types->length(), kMaxLoadPolymorphism)),
1275 types_(Min(types->length(), kMaxLoadPolymorphism)),
1276 name_(name), 1276 name_(name),
1277 need_generic_(false) { 1277 need_generic_(false) {
1278 SetOperandAt(0, context);
1279 SetOperandAt(1, object);
1278 set_representation(Representation::Tagged()); 1280 set_representation(Representation::Tagged());
1279 SetFlag(kDependsOnMaps); 1281 SetFlag(kDependsOnMaps);
1280 for (int i = 0; 1282 for (int i = 0;
1281 i < types->length() && types_.length() < kMaxLoadPolymorphism; 1283 i < types->length() && types_.length() < kMaxLoadPolymorphism;
1282 ++i) { 1284 ++i) {
1283 Handle<Map> map = types->at(i); 1285 Handle<Map> map = types->at(i);
1284 LookupResult lookup; 1286 LookupResult lookup;
1285 map->LookupInDescriptors(NULL, *name, &lookup); 1287 map->LookupInDescriptors(NULL, *name, &lookup);
1286 if (lookup.IsProperty()) { 1288 if (lookup.IsProperty()) {
1287 switch (lookup.type()) { 1289 switch (lookup.type()) {
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1795 1797
1796 1798
1797 void HCheckPrototypeMaps::Verify() { 1799 void HCheckPrototypeMaps::Verify() {
1798 HInstruction::Verify(); 1800 HInstruction::Verify();
1799 ASSERT(HasNoUses()); 1801 ASSERT(HasNoUses());
1800 } 1802 }
1801 1803
1802 #endif 1804 #endif
1803 1805
1804 } } // namespace v8::internal 1806 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698