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

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

Issue 6015014: Add private members to lithium classes on X64. Add implementation file lithi... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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/SConscript ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 // that do not correspond to an OSR entry. 1945 // that do not correspond to an OSR entry.
1946 LOperand** spilled_registers_; 1946 LOperand** spilled_registers_;
1947 LOperand** spilled_double_registers_; 1947 LOperand** spilled_double_registers_;
1948 1948
1949 LEnvironment* outer_; 1949 LEnvironment* outer_;
1950 }; 1950 };
1951 1951
1952 class LChunkBuilder; 1952 class LChunkBuilder;
1953 class LChunk: public ZoneObject { 1953 class LChunk: public ZoneObject {
1954 public: 1954 public:
1955 explicit LChunk(HGraph* graph); 1955 explicit LChunk(HGraph* graph)
1956 : spill_slot_count_(0),
1957 graph_(graph),
1958 instructions_(32),
1959 pointer_maps_(8),
1960 inlined_closures_(1) { }
1956 1961
1957 int AddInstruction(LInstruction* instruction, HBasicBlock* block); 1962 int AddInstruction(LInstruction* instruction, HBasicBlock* block);
1958 LConstantOperand* DefineConstantOperand(HConstant* constant); 1963 LConstantOperand* DefineConstantOperand(HConstant* constant);
1959 Handle<Object> LookupLiteral(LConstantOperand* operand) const; 1964 Handle<Object> LookupLiteral(LConstantOperand* operand) const;
1960 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; 1965 Representation LookupLiteralRepresentation(LConstantOperand* operand) const;
1961 1966
1962 int GetNextSpillIndex(bool is_double); 1967 int GetNextSpillIndex(bool is_double);
1963 LOperand* GetNextSpillSlot(bool is_double); 1968 LOperand* GetNextSpillSlot(bool is_double);
1964 1969
1965 int ParameterAt(int index); 1970 int ParameterAt(int index);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2146 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2142 }; 2147 };
2143 2148
2144 #undef DECLARE_HYDROGEN_ACCESSOR 2149 #undef DECLARE_HYDROGEN_ACCESSOR
2145 #undef DECLARE_INSTRUCTION 2150 #undef DECLARE_INSTRUCTION
2146 #undef DECLARE_CONCRETE_INSTRUCTION 2151 #undef DECLARE_CONCRETE_INSTRUCTION
2147 2152
2148 } } // namespace v8::internal 2153 } } // namespace v8::internal
2149 2154
2150 #endif // V8_IA32_LITHIUM_IA32_H_ 2155 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/SConscript ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698