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

Side by Side Diff: src/ia32/lithium-ia32.h

Issue 11348176: Add dehoisting to the string printout of hydrogen and lithium instructions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Whitespace issues found by presubmit. Created 8 years 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.cc ('k') | src/ia32/lithium-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 ElementsKind elements_kind() const { 1397 ElementsKind elements_kind() const {
1398 return hydrogen()->elements_kind(); 1398 return hydrogen()->elements_kind();
1399 } 1399 }
1400 bool is_external() const { 1400 bool is_external() const {
1401 return hydrogen()->is_external(); 1401 return hydrogen()->is_external();
1402 } 1402 }
1403 1403
1404 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") 1404 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed")
1405 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) 1405 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed)
1406 1406
1407 virtual void PrintDataTo(StringStream* stream);
1407 uint32_t additional_index() const { return hydrogen()->index_offset(); } 1408 uint32_t additional_index() const { return hydrogen()->index_offset(); }
1408 }; 1409 };
1409 1410
1410 1411
1411 inline static bool ExternalArrayOpRequiresTemp( 1412 inline static bool ExternalArrayOpRequiresTemp(
1412 Representation key_representation, 1413 Representation key_representation,
1413 ElementsKind elements_kind) { 1414 ElementsKind elements_kind) {
1414 // Operations that require the key to be divided by two to be converted into 1415 // Operations that require the key to be divided by two to be converted into
1415 // an index cannot fold the scale operation into a load and need an extra 1416 // an index cannot fold the scale operation into a load and need an extra
1416 // temp register to do the work. 1417 // temp register to do the work.
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2655 2656
2656 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2657 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2657 }; 2658 };
2658 2659
2659 #undef DECLARE_HYDROGEN_ACCESSOR 2660 #undef DECLARE_HYDROGEN_ACCESSOR
2660 #undef DECLARE_CONCRETE_INSTRUCTION 2661 #undef DECLARE_CONCRETE_INSTRUCTION
2661 2662
2662 } } // namespace v8::internal 2663 } } // namespace v8::internal
2663 2664
2664 #endif // V8_IA32_LITHIUM_IA32_H_ 2665 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698