Chromium Code Reviews| Index: src/x64/lithium-codegen-x64.h | 
| =================================================================== | 
| --- src/x64/lithium-codegen-x64.h (revision 6957) | 
| +++ src/x64/lithium-codegen-x64.h (working copy) | 
| @@ -53,6 +53,7 @@ | 
| current_instruction_(-1), | 
| instructions_(chunk->instructions()), | 
| deoptimizations_(4), | 
| + jump_table_(4), | 
| 
 
Lasse Reichstein
2011/02/28 08:42:30
If possible, remove the 4 (and the 4 above). Just
 
Rico
2011/02/28 09:57:13
There is no default ZoneList constructor
 
 | 
| deoptimization_literals_(8), | 
| inlined_function_count_(0), | 
| scope_(chunk->graph()->info()->scope()), | 
| @@ -147,6 +148,7 @@ | 
| bool GeneratePrologue(); | 
| bool GenerateBody(); | 
| bool GenerateDeferredCode(); | 
| + bool GenerateJumpTable(); | 
| bool GenerateSafepointTable(); | 
| void CallCode(Handle<Code> code, | 
| @@ -234,6 +236,11 @@ | 
| // Emits code for pushing a constant operand. | 
| void EmitPushConstantOperand(LOperand* operand); | 
| + struct JumpTableEntry { | 
| 
 
Lasse Reichstein
2011/02/28 08:42:30
Have a constructor to initialize label and address
 
Rico
2011/02/28 09:57:13
Done.
 
 | 
| + Label label; | 
| + Address address; | 
| + }; | 
| + | 
| LChunk* const chunk_; | 
| MacroAssembler* const masm_; | 
| CompilationInfo* const info_; | 
| @@ -242,6 +249,7 @@ | 
| int current_instruction_; | 
| const ZoneList<LInstruction*>* instructions_; | 
| ZoneList<LEnvironment*> deoptimizations_; | 
| + ZoneList<JumpTableEntry*> jump_table_; | 
| ZoneList<Handle<Object> > deoptimization_literals_; | 
| int inlined_function_count_; | 
| Scope* const scope_; |