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

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

Issue 12225099: Remove prototype checks for leaf maps in optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merge 12224035 to this CL and address Michael's comments Created 7 years, 10 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 : zone_(info->zone()), 49 : zone_(info->zone()),
50 chunk_(static_cast<LPlatformChunk*>(chunk)), 50 chunk_(static_cast<LPlatformChunk*>(chunk)),
51 masm_(assembler), 51 masm_(assembler),
52 info_(info), 52 info_(info),
53 current_block_(-1), 53 current_block_(-1),
54 current_instruction_(-1), 54 current_instruction_(-1),
55 instructions_(chunk->instructions()), 55 instructions_(chunk->instructions()),
56 deoptimizations_(4, info->zone()), 56 deoptimizations_(4, info->zone()),
57 jump_table_(4, info->zone()), 57 jump_table_(4, info->zone()),
58 deoptimization_literals_(8, info->zone()), 58 deoptimization_literals_(8, info->zone()),
59 prototype_maps_(0, info->zone()),
59 inlined_function_count_(0), 60 inlined_function_count_(0),
60 scope_(info->scope()), 61 scope_(info->scope()),
61 status_(UNUSED), 62 status_(UNUSED),
62 translations_(info->zone()), 63 translations_(info->zone()),
63 deferred_(8, info->zone()), 64 deferred_(8, info->zone()),
64 osr_pc_offset_(-1), 65 osr_pc_offset_(-1),
65 last_lazy_deopt_pc_(0), 66 last_lazy_deopt_pc_(0),
66 frame_is_built_(false), 67 frame_is_built_(false),
67 safepoints_(info->zone()), 68 safepoints_(info->zone()),
68 resolver_(this), 69 resolver_(this),
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 LPlatformChunk* const chunk_; 365 LPlatformChunk* const chunk_;
365 MacroAssembler* const masm_; 366 MacroAssembler* const masm_;
366 CompilationInfo* const info_; 367 CompilationInfo* const info_;
367 368
368 int current_block_; 369 int current_block_;
369 int current_instruction_; 370 int current_instruction_;
370 const ZoneList<LInstruction*>* instructions_; 371 const ZoneList<LInstruction*>* instructions_;
371 ZoneList<LEnvironment*> deoptimizations_; 372 ZoneList<LEnvironment*> deoptimizations_;
372 ZoneList<JumpTableEntry> jump_table_; 373 ZoneList<JumpTableEntry> jump_table_;
373 ZoneList<Handle<Object> > deoptimization_literals_; 374 ZoneList<Handle<Object> > deoptimization_literals_;
375 ZoneList<Handle<Map> > prototype_maps_;
374 int inlined_function_count_; 376 int inlined_function_count_;
375 Scope* const scope_; 377 Scope* const scope_;
376 Status status_; 378 Status status_;
377 TranslationBuffer translations_; 379 TranslationBuffer translations_;
378 ZoneList<LDeferredCode*> deferred_; 380 ZoneList<LDeferredCode*> deferred_;
379 int osr_pc_offset_; 381 int osr_pc_offset_;
380 int last_lazy_deopt_pc_; 382 int last_lazy_deopt_pc_;
381 bool frame_is_built_; 383 bool frame_is_built_;
382 384
383 // Builder that keeps track of safepoints in the code. The table 385 // Builder that keeps track of safepoints in the code. The table
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 LCodeGen* codegen_; 444 LCodeGen* codegen_;
443 Label entry_; 445 Label entry_;
444 Label exit_; 446 Label exit_;
445 Label* external_exit_; 447 Label* external_exit_;
446 int instruction_index_; 448 int instruction_index_;
447 }; 449 };
448 450
449 } } // namespace v8::internal 451 } } // namespace v8::internal
450 452
451 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 453 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« src/objects.h ('K') | « src/objects-visiting-inl.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698