| 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 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2325 : spill_slot_count_(0), | 2325 : spill_slot_count_(0), |
| 2326 num_double_slots_(0), | 2326 num_double_slots_(0), |
| 2327 info_(info), | 2327 info_(info), |
| 2328 graph_(graph), | 2328 graph_(graph), |
| 2329 instructions_(32, graph->zone()), | 2329 instructions_(32, graph->zone()), |
| 2330 pointer_maps_(8, graph->zone()), | 2330 pointer_maps_(8, graph->zone()), |
| 2331 inlined_closures_(1, graph->zone()) { } | 2331 inlined_closures_(1, graph->zone()) { } |
| 2332 | 2332 |
| 2333 void AddInstruction(LInstruction* instruction, HBasicBlock* block); | 2333 void AddInstruction(LInstruction* instruction, HBasicBlock* block); |
| 2334 LConstantOperand* DefineConstantOperand(HConstant* constant); | 2334 LConstantOperand* DefineConstantOperand(HConstant* constant); |
| 2335 Handle<Object> LookupLiteral(LConstantOperand* operand) const; | 2335 HConstant* LookupConstant(LConstantOperand* operand) const; |
| 2336 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; | 2336 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; |
| 2337 | 2337 |
| 2338 int GetNextSpillIndex(bool is_double); | 2338 int GetNextSpillIndex(bool is_double); |
| 2339 LOperand* GetNextSpillSlot(bool is_double); | 2339 LOperand* GetNextSpillSlot(bool is_double); |
| 2340 | 2340 |
| 2341 int ParameterAt(int index); | 2341 int ParameterAt(int index); |
| 2342 int GetParameterStackSlot(int index) const; | 2342 int GetParameterStackSlot(int index) const; |
| 2343 int spill_slot_count() const { return spill_slot_count_; } | 2343 int spill_slot_count() const { return spill_slot_count_; } |
| 2344 int num_double_slots() const { return num_double_slots_; } | 2344 int num_double_slots() const { return num_double_slots_; } |
| 2345 CompilationInfo* info() const { return info_; } | 2345 CompilationInfo* info() const { return info_; } |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2546 | 2546 |
| 2547 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2547 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2548 }; | 2548 }; |
| 2549 | 2549 |
| 2550 #undef DECLARE_HYDROGEN_ACCESSOR | 2550 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2551 #undef DECLARE_CONCRETE_INSTRUCTION | 2551 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2552 | 2552 |
| 2553 } } // namespace v8::internal | 2553 } } // namespace v8::internal |
| 2554 | 2554 |
| 2555 #endif // V8_IA32_LITHIUM_IA32_H_ | 2555 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |