OLD | NEW |
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 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2221 }; | 2221 }; |
2222 | 2222 |
2223 | 2223 |
2224 class LChunkBuilder; | 2224 class LChunkBuilder; |
2225 class LChunk: public ZoneObject { | 2225 class LChunk: public ZoneObject { |
2226 public: | 2226 public: |
2227 explicit LChunk(CompilationInfo* info, HGraph* graph); | 2227 explicit LChunk(CompilationInfo* info, HGraph* graph); |
2228 | 2228 |
2229 void AddInstruction(LInstruction* instruction, HBasicBlock* block); | 2229 void AddInstruction(LInstruction* instruction, HBasicBlock* block); |
2230 LConstantOperand* DefineConstantOperand(HConstant* constant); | 2230 LConstantOperand* DefineConstantOperand(HConstant* constant); |
2231 Handle<Object> LookupLiteral(LConstantOperand* operand) const; | 2231 HConstant* LookupConstant(LConstantOperand* operand) const; |
2232 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; | 2232 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; |
2233 | 2233 |
2234 int GetNextSpillIndex(bool is_double); | 2234 int GetNextSpillIndex(bool is_double); |
2235 LOperand* GetNextSpillSlot(bool is_double); | 2235 LOperand* GetNextSpillSlot(bool is_double); |
2236 | 2236 |
2237 int ParameterAt(int index); | 2237 int ParameterAt(int index); |
2238 int GetParameterStackSlot(int index) const; | 2238 int GetParameterStackSlot(int index) const; |
2239 int spill_slot_count() const { return spill_slot_count_; } | 2239 int spill_slot_count() const { return spill_slot_count_; } |
2240 CompilationInfo* info() const { return info_; } | 2240 CompilationInfo* info() const { return info_; } |
2241 HGraph* graph() const { return graph_; } | 2241 HGraph* graph() const { return graph_; } |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2437 | 2437 |
2438 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2438 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2439 }; | 2439 }; |
2440 | 2440 |
2441 #undef DECLARE_HYDROGEN_ACCESSOR | 2441 #undef DECLARE_HYDROGEN_ACCESSOR |
2442 #undef DECLARE_CONCRETE_INSTRUCTION | 2442 #undef DECLARE_CONCRETE_INSTRUCTION |
2443 | 2443 |
2444 } } // namespace v8::internal | 2444 } } // namespace v8::internal |
2445 | 2445 |
2446 #endif // V8_ARM_LITHIUM_ARM_H_ | 2446 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |