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

Side by Side Diff: src/objects.cc

Issue 21055011: First implementation of allocation elimination in Hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/lithium.h ('k') | src/x64/lithium-codegen-x64.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 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 10618 matching lines...) Expand 10 before | Expand all | Expand 10 after
10629 PrintF(out, "{input=%d}", input_slot_index); 10629 PrintF(out, "{input=%d}", input_slot_index);
10630 break; 10630 break;
10631 } 10631 }
10632 10632
10633 case Translation::LITERAL: { 10633 case Translation::LITERAL: {
10634 unsigned literal_index = iterator.Next(); 10634 unsigned literal_index = iterator.Next();
10635 PrintF(out, "{literal_id=%u}", literal_index); 10635 PrintF(out, "{literal_id=%u}", literal_index);
10636 break; 10636 break;
10637 } 10637 }
10638 10638
10639 case Translation::ARGUMENTS_OBJECT: { 10639 case Translation::DUPLICATED_OBJECT: {
10640 int object_index = iterator.Next();
10641 PrintF(out, "{object_index=%d}", object_index);
10642 break;
10643 }
10644
10645 case Translation::ARGUMENTS_OBJECT:
10646 case Translation::CAPTURED_OBJECT: {
10640 int args_length = iterator.Next(); 10647 int args_length = iterator.Next();
10641 PrintF(out, "{length=%d}", args_length); 10648 PrintF(out, "{length=%d}", args_length);
10642 break; 10649 break;
10643 } 10650 }
10644 } 10651 }
10645 PrintF(out, "\n"); 10652 PrintF(out, "\n");
10646 } 10653 }
10647 } 10654 }
10648 } 10655 }
10649 10656
(...skipping 5319 matching lines...) Expand 10 before | Expand all | Expand 10 after
15969 #define ERROR_MESSAGES_TEXTS(C, T) T, 15976 #define ERROR_MESSAGES_TEXTS(C, T) T,
15970 static const char* error_messages_[] = { 15977 static const char* error_messages_[] = {
15971 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) 15978 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS)
15972 }; 15979 };
15973 #undef ERROR_MESSAGES_TEXTS 15980 #undef ERROR_MESSAGES_TEXTS
15974 return error_messages_[reason]; 15981 return error_messages_[reason];
15975 } 15982 }
15976 15983
15977 15984
15978 } } // namespace v8::internal 15985 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium.h ('k') | src/x64/lithium-codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698