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 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2224 | 2224 |
2225 | 2225 |
2226 class LChunkBuilder; | 2226 class LChunkBuilder; |
2227 class LChunk: public LChunkBase { | 2227 class LChunk: public LChunkBase { |
2228 public: | 2228 public: |
2229 explicit LChunk(CompilationInfo* info, HGraph* graph) | 2229 explicit LChunk(CompilationInfo* info, HGraph* graph) |
2230 : LChunkBase(info, graph) { } | 2230 : LChunkBase(info, graph) { } |
2231 | 2231 |
2232 int GetNextSpillIndex(bool is_double); | 2232 int GetNextSpillIndex(bool is_double); |
2233 LOperand* GetNextSpillSlot(bool is_double); | 2233 LOperand* GetNextSpillSlot(bool is_double); |
| 2234 |
| 2235 Handle<Code> Codegen() { return LChunkBase::Codegen(this); } |
2234 }; | 2236 }; |
2235 | 2237 |
2236 | 2238 |
2237 class LChunkBuilder BASE_EMBEDDED { | 2239 class LChunkBuilder BASE_EMBEDDED { |
2238 public: | 2240 public: |
2239 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2241 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
2240 : chunk_(NULL), | 2242 : chunk_(NULL), |
2241 info_(info), | 2243 info_(info), |
2242 graph_(graph), | 2244 graph_(graph), |
2243 zone_(graph->zone()), | 2245 zone_(graph->zone()), |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 | 2389 |
2388 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2390 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2389 }; | 2391 }; |
2390 | 2392 |
2391 #undef DECLARE_HYDROGEN_ACCESSOR | 2393 #undef DECLARE_HYDROGEN_ACCESSOR |
2392 #undef DECLARE_CONCRETE_INSTRUCTION | 2394 #undef DECLARE_CONCRETE_INSTRUCTION |
2393 | 2395 |
2394 } } // namespace v8::internal | 2396 } } // namespace v8::internal |
2395 | 2397 |
2396 #endif // V8_ARM_LITHIUM_ARM_H_ | 2398 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |