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

Side by Side Diff: src/objects.cc

Issue 7979003: Merge svn revision 9331 to the 3.4 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.4
Patch Set: Created 9 years, 3 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-ia32.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 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 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 Object* constructor_name = 1002 Object* constructor_name =
1003 JSFunction::cast(constructor)->shared()->name(); 1003 JSFunction::cast(constructor)->shared()->name();
1004 if (constructor_name->IsString()) { 1004 if (constructor_name->IsString()) {
1005 String* str = String::cast(constructor_name); 1005 String* str = String::cast(constructor_name);
1006 if (str->length() > 0) { 1006 if (str->length() > 0) {
1007 bool vowel = AnWord(str); 1007 bool vowel = AnWord(str);
1008 accumulator->Add("<%sa%s ", 1008 accumulator->Add("<%sa%s ",
1009 global_object ? "Global Object: " : "", 1009 global_object ? "Global Object: " : "",
1010 vowel ? "n" : ""); 1010 vowel ? "n" : "");
1011 accumulator->Put(str); 1011 accumulator->Put(str);
1012 accumulator->Put('>');
1013 printed = true; 1012 printed = true;
1014 } 1013 }
1015 } 1014 }
1016 } 1015 }
1017 } 1016 }
1018 if (!printed) { 1017 if (!printed) {
1019 accumulator->Add("<JS %sObject", global_object ? "Global " : ""); 1018 accumulator->Add("<JS %sObject", global_object ? "Global " : "");
1020 } 1019 }
1021 } 1020 }
1022 if (IsJSValue()) { 1021 if (IsJSValue()) {
(...skipping 10827 matching lines...) Expand 10 before | Expand all | Expand 10 after
11850 if (break_point_objects()->IsUndefined()) return 0; 11849 if (break_point_objects()->IsUndefined()) return 0;
11851 // Single beak point. 11850 // Single beak point.
11852 if (!break_point_objects()->IsFixedArray()) return 1; 11851 if (!break_point_objects()->IsFixedArray()) return 1;
11853 // Multiple break points. 11852 // Multiple break points.
11854 return FixedArray::cast(break_point_objects())->length(); 11853 return FixedArray::cast(break_point_objects())->length();
11855 } 11854 }
11856 #endif 11855 #endif
11857 11856
11858 11857
11859 } } // namespace v8::internal 11858 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698