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

Side by Side Diff: src/objects.cc

Issue 16996004: Rollback of r15097, r15087 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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/mips/lithium-mips.cc ('k') | src/version.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 Object* constructor_name = 1377 Object* constructor_name =
1378 JSFunction::cast(constructor)->shared()->name(); 1378 JSFunction::cast(constructor)->shared()->name();
1379 if (constructor_name->IsString()) { 1379 if (constructor_name->IsString()) {
1380 String* str = String::cast(constructor_name); 1380 String* str = String::cast(constructor_name);
1381 if (str->length() > 0) { 1381 if (str->length() > 0) {
1382 bool vowel = AnWord(str); 1382 bool vowel = AnWord(str);
1383 accumulator->Add("<%sa%s ", 1383 accumulator->Add("<%sa%s ",
1384 global_object ? "Global Object: " : "", 1384 global_object ? "Global Object: " : "",
1385 vowel ? "n" : ""); 1385 vowel ? "n" : "");
1386 accumulator->Put(str); 1386 accumulator->Put(str);
1387 accumulator->Add(" with %smap %p", 1387 accumulator->Add(" with %smap 0x%p",
1388 map_of_this->is_deprecated() ? "deprecated " : "", 1388 map_of_this->is_deprecated() ? "deprecated " : "",
1389 map_of_this); 1389 map_of_this);
1390 printed = true; 1390 printed = true;
1391 } 1391 }
1392 } 1392 }
1393 } 1393 }
1394 } 1394 }
1395 if (!printed) { 1395 if (!printed) {
1396 accumulator->Add("<JS %sObject", global_object ? "Global " : ""); 1396 accumulator->Add("<JS %sObject", global_object ? "Global " : "");
1397 } 1397 }
(...skipping 9151 matching lines...) Expand 10 before | Expand all | Expand 10 after
10549 break; 10549 break;
10550 } 10550 }
10551 10551
10552 case Translation::LITERAL: { 10552 case Translation::LITERAL: {
10553 unsigned literal_index = iterator.Next(); 10553 unsigned literal_index = iterator.Next();
10554 PrintF(out, "{literal_id=%u}", literal_index); 10554 PrintF(out, "{literal_id=%u}", literal_index);
10555 break; 10555 break;
10556 } 10556 }
10557 10557
10558 case Translation::ARGUMENTS_OBJECT: { 10558 case Translation::ARGUMENTS_OBJECT: {
10559 bool args_known = iterator.Next();
10560 int args_index = iterator.Next();
10559 int args_length = iterator.Next(); 10561 int args_length = iterator.Next();
10560 PrintF(out, "{length=%d}", args_length); 10562 PrintF(out, "{index=%d, length=%d, known=%d}",
10563 args_index, args_length, args_known);
10561 break; 10564 break;
10562 } 10565 }
10563 } 10566 }
10564 PrintF(out, "\n"); 10567 PrintF(out, "\n");
10565 } 10568 }
10566 } 10569 }
10567 } 10570 }
10568 10571
10569 10572
10570 void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) { 10573 void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) {
(...skipping 5244 matching lines...) Expand 10 before | Expand all | Expand 10 after
15815 return static_cast<Type*>(type_raw()); 15818 return static_cast<Type*>(type_raw());
15816 } 15819 }
15817 15820
15818 15821
15819 void JSGlobalPropertyCell::set_type(Type* type, WriteBarrierMode ignored) { 15822 void JSGlobalPropertyCell::set_type(Type* type, WriteBarrierMode ignored) {
15820 set_type_raw(type, ignored); 15823 set_type_raw(type, ignored);
15821 } 15824 }
15822 15825
15823 15826
15824 } } // namespace v8::internal 15827 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698