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

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

Issue 10544196: Defer creating Handles for HConstants to the code generation phase. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review. Created 8 years, 5 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
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698