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

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

Issue 12049012: Avoid handle dereference during graph optimization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 years, 11 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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 LOperand* temp() { return temps_[1]; } 1986 LOperand* temp() { return temps_[1]; }
1987 1987
1988 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, 1988 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
1989 "transition-elements-kind") 1989 "transition-elements-kind")
1990 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) 1990 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
1991 1991
1992 virtual void PrintDataTo(StringStream* stream); 1992 virtual void PrintDataTo(StringStream* stream);
1993 1993
1994 Handle<Map> original_map() { return hydrogen()->original_map(); } 1994 Handle<Map> original_map() { return hydrogen()->original_map(); }
1995 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } 1995 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
1996 ElementsKind from_kind() { return hydrogen()->from_kind(); }
1997 ElementsKind to_kind() { return hydrogen()->to_kind(); }
1996 }; 1998 };
1997 1999
1998 2000
1999 class LStringAdd: public LTemplateInstruction<1, 2, 0> { 2001 class LStringAdd: public LTemplateInstruction<1, 2, 0> {
2000 public: 2002 public:
2001 LStringAdd(LOperand* left, LOperand* right) { 2003 LStringAdd(LOperand* left, LOperand* right) {
2002 inputs_[0] = left; 2004 inputs_[0] = left;
2003 inputs_[1] = right; 2005 inputs_[1] = right;
2004 } 2006 }
2005 2007
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2551 2553
2552 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2554 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2553 }; 2555 };
2554 2556
2555 #undef DECLARE_HYDROGEN_ACCESSOR 2557 #undef DECLARE_HYDROGEN_ACCESSOR
2556 #undef DECLARE_CONCRETE_INSTRUCTION 2558 #undef DECLARE_CONCRETE_INSTRUCTION
2557 2559
2558 } } // namespace v8::int 2560 } } // namespace v8::int
2559 2561
2560 #endif // V8_X64_LITHIUM_X64_H_ 2562 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698