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 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2178 | 2178 |
2179 | 2179 |
2180 class LChunkBuilder; | 2180 class LChunkBuilder; |
2181 class LChunk: public LChunkBase { | 2181 class LChunk: public LChunkBase { |
2182 public: | 2182 public: |
2183 LChunk(CompilationInfo* info, HGraph* graph) | 2183 LChunk(CompilationInfo* info, HGraph* graph) |
2184 : LChunkBase(info, graph) { } | 2184 : LChunkBase(info, graph) { } |
2185 | 2185 |
2186 int GetNextSpillIndex(bool is_double); | 2186 int GetNextSpillIndex(bool is_double); |
2187 LOperand* GetNextSpillSlot(bool is_double); | 2187 LOperand* GetNextSpillSlot(bool is_double); |
| 2188 |
| 2189 Handle<Code> Codegen() { return LChunkBase::Codegen(this); } |
2188 }; | 2190 }; |
2189 | 2191 |
2190 | 2192 |
2191 class LChunkBuilder BASE_EMBEDDED { | 2193 class LChunkBuilder BASE_EMBEDDED { |
2192 public: | 2194 public: |
2193 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2195 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
2194 : chunk_(NULL), | 2196 : chunk_(NULL), |
2195 info_(info), | 2197 info_(info), |
2196 graph_(graph), | 2198 graph_(graph), |
2197 zone_(graph->zone()), | 2199 zone_(graph->zone()), |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2344 | 2346 |
2345 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2347 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2346 }; | 2348 }; |
2347 | 2349 |
2348 #undef DECLARE_HYDROGEN_ACCESSOR | 2350 #undef DECLARE_HYDROGEN_ACCESSOR |
2349 #undef DECLARE_CONCRETE_INSTRUCTION | 2351 #undef DECLARE_CONCRETE_INSTRUCTION |
2350 | 2352 |
2351 } } // namespace v8::int | 2353 } } // namespace v8::int |
2352 | 2354 |
2353 #endif // V8_X64_LITHIUM_X64_H_ | 2355 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |