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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 14146005: Track representations of fields (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test for tracking fields Created 7 years, 7 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
« no previous file with comments | « src/transitions.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 chunk_(static_cast<LPlatformChunk*>(chunk)), 51 chunk_(static_cast<LPlatformChunk*>(chunk)),
52 masm_(assembler), 52 masm_(assembler),
53 info_(info), 53 info_(info),
54 current_block_(-1), 54 current_block_(-1),
55 current_instruction_(-1), 55 current_instruction_(-1),
56 instructions_(chunk->instructions()), 56 instructions_(chunk->instructions()),
57 deoptimizations_(4, info->zone()), 57 deoptimizations_(4, info->zone()),
58 jump_table_(4, info->zone()), 58 jump_table_(4, info->zone()),
59 deoptimization_literals_(8, info->zone()), 59 deoptimization_literals_(8, info->zone()),
60 prototype_maps_(0, info->zone()), 60 prototype_maps_(0, info->zone()),
61 transition_maps_(0, info->zone()),
61 inlined_function_count_(0), 62 inlined_function_count_(0),
62 scope_(info->scope()), 63 scope_(info->scope()),
63 status_(UNUSED), 64 status_(UNUSED),
64 translations_(info->zone()), 65 translations_(info->zone()),
65 deferred_(8, info->zone()), 66 deferred_(8, info->zone()),
66 osr_pc_offset_(-1), 67 osr_pc_offset_(-1),
67 last_lazy_deopt_pc_(0), 68 last_lazy_deopt_pc_(0),
68 frame_is_built_(false), 69 frame_is_built_(false),
69 safepoints_(info->zone()), 70 safepoints_(info->zone()),
70 resolver_(this), 71 resolver_(this),
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 MacroAssembler* const masm_; 364 MacroAssembler* const masm_;
364 CompilationInfo* const info_; 365 CompilationInfo* const info_;
365 366
366 int current_block_; 367 int current_block_;
367 int current_instruction_; 368 int current_instruction_;
368 const ZoneList<LInstruction*>* instructions_; 369 const ZoneList<LInstruction*>* instructions_;
369 ZoneList<LEnvironment*> deoptimizations_; 370 ZoneList<LEnvironment*> deoptimizations_;
370 ZoneList<JumpTableEntry> jump_table_; 371 ZoneList<JumpTableEntry> jump_table_;
371 ZoneList<Handle<Object> > deoptimization_literals_; 372 ZoneList<Handle<Object> > deoptimization_literals_;
372 ZoneList<Handle<Map> > prototype_maps_; 373 ZoneList<Handle<Map> > prototype_maps_;
374 ZoneList<Handle<Map> > transition_maps_;
373 int inlined_function_count_; 375 int inlined_function_count_;
374 Scope* const scope_; 376 Scope* const scope_;
375 Status status_; 377 Status status_;
376 TranslationBuffer translations_; 378 TranslationBuffer translations_;
377 ZoneList<LDeferredCode*> deferred_; 379 ZoneList<LDeferredCode*> deferred_;
378 int osr_pc_offset_; 380 int osr_pc_offset_;
379 int last_lazy_deopt_pc_; 381 int last_lazy_deopt_pc_;
380 bool frame_is_built_; 382 bool frame_is_built_;
381 383
382 // Builder that keeps track of safepoints in the code. The table 384 // Builder that keeps track of safepoints in the code. The table
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 LCodeGen* codegen_; 443 LCodeGen* codegen_;
442 Label entry_; 444 Label entry_;
443 Label exit_; 445 Label exit_;
444 Label* external_exit_; 446 Label* external_exit_;
445 int instruction_index_; 447 int instruction_index_;
446 }; 448 };
447 449
448 } } // namespace v8::internal 450 } } // namespace v8::internal
449 451
450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 452 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/transitions.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698