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/mips64/lithium-mips64.cc

Issue 1259963002: [stubs] Don't pass name to Load/StoreGlobalViaContext stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix rebase Created 5 years, 4 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
« no previous file with comments | « src/mips64/lithium-mips64.h ('k') | src/objects.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { 331 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) {
332 arguments()->PrintTo(stream); 332 arguments()->PrintTo(stream);
333 stream->Add(" length "); 333 stream->Add(" length ");
334 length()->PrintTo(stream); 334 length()->PrintTo(stream);
335 stream->Add(" index "); 335 stream->Add(" index ");
336 index()->PrintTo(stream); 336 index()->PrintTo(stream);
337 } 337 }
338 338
339 339
340 void LLoadGlobalViaContext::PrintDataTo(StringStream* stream) { 340 void LLoadGlobalViaContext::PrintDataTo(StringStream* stream) {
341 stream->Add(String::cast(*name())->ToCString().get()); 341 stream->Add("depth:%d slot:%d", depth(), slot_index());
342 stream->Add(" depth:%d slot:%d", depth(), slot_index());
343 } 342 }
344 343
345 344
346 void LStoreNamedField::PrintDataTo(StringStream* stream) { 345 void LStoreNamedField::PrintDataTo(StringStream* stream) {
347 object()->PrintTo(stream); 346 object()->PrintTo(stream);
348 std::ostringstream os; 347 std::ostringstream os;
349 os << hydrogen()->access() << " <- "; 348 os << hydrogen()->access() << " <- ";
350 stream->Add(os.str().c_str()); 349 stream->Add(os.str().c_str());
351 value()->PrintTo(stream); 350 value()->PrintTo(stream);
352 } 351 }
353 352
354 353
355 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { 354 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) {
356 object()->PrintTo(stream); 355 object()->PrintTo(stream);
357 stream->Add("."); 356 stream->Add(".");
358 stream->Add(String::cast(*name())->ToCString().get()); 357 stream->Add(String::cast(*name())->ToCString().get());
359 stream->Add(" <- "); 358 stream->Add(" <- ");
360 value()->PrintTo(stream); 359 value()->PrintTo(stream);
361 } 360 }
362 361
363 362
364 void LStoreGlobalViaContext::PrintDataTo(StringStream* stream) { 363 void LStoreGlobalViaContext::PrintDataTo(StringStream* stream) {
365 stream->Add(String::cast(*name())->ToCString().get()); 364 stream->Add("depth:%d slot:%d <- ", depth(), slot_index());
366 stream->Add(" <- ");
367 value()->PrintTo(stream); 365 value()->PrintTo(stream);
368 stream->Add(" depth:%d slot:%d", depth(), slot_index());
369 } 366 }
370 367
371 368
372 void LLoadKeyed::PrintDataTo(StringStream* stream) { 369 void LLoadKeyed::PrintDataTo(StringStream* stream) {
373 elements()->PrintTo(stream); 370 elements()->PrintTo(stream);
374 stream->Add("["); 371 stream->Add("[");
375 key()->PrintTo(stream); 372 key()->PrintTo(stream);
376 if (hydrogen()->IsDehoisted()) { 373 if (hydrogen()->IsDehoisted()) {
377 stream->Add(" + %d]", base_offset()); 374 stream->Add(" + %d]", base_offset());
378 } else { 375 } else {
(...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after
2677 LAllocateBlockContext* result = 2674 LAllocateBlockContext* result =
2678 new(zone()) LAllocateBlockContext(context, function); 2675 new(zone()) LAllocateBlockContext(context, function);
2679 return MarkAsCall(DefineFixed(result, cp), instr); 2676 return MarkAsCall(DefineFixed(result, cp), instr);
2680 } 2677 }
2681 2678
2682 2679
2683 } // namespace internal 2680 } // namespace internal
2684 } // namespace v8 2681 } // namespace v8
2685 2682
2686 #endif // V8_TARGET_ARCH_MIPS64 2683 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/lithium-mips64.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698