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

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: Add space after if 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
« no previous file with comments | « src/objects-visiting-inl.h ('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 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 LPlatformChunk* const chunk_; 361 LPlatformChunk* const chunk_;
361 MacroAssembler* const masm_; 362 MacroAssembler* const masm_;
362 CompilationInfo* const info_; 363 CompilationInfo* const info_;
363 364
364 int current_block_; 365 int current_block_;
365 int current_instruction_; 366 int current_instruction_;
366 const ZoneList<LInstruction*>* instructions_; 367 const ZoneList<LInstruction*>* instructions_;
367 ZoneList<LEnvironment*> deoptimizations_; 368 ZoneList<LEnvironment*> deoptimizations_;
368 ZoneList<JumpTableEntry> jump_table_; 369 ZoneList<JumpTableEntry> jump_table_;
369 ZoneList<Handle<Object> > deoptimization_literals_; 370 ZoneList<Handle<Object> > deoptimization_literals_;
371 ZoneList<Handle<Map> > prototype_maps_;
370 int inlined_function_count_; 372 int inlined_function_count_;
371 Scope* const scope_; 373 Scope* const scope_;
372 Status status_; 374 Status status_;
373 TranslationBuffer translations_; 375 TranslationBuffer translations_;
374 ZoneList<LDeferredCode*> deferred_; 376 ZoneList<LDeferredCode*> deferred_;
375 int osr_pc_offset_; 377 int osr_pc_offset_;
376 int last_lazy_deopt_pc_; 378 int last_lazy_deopt_pc_;
377 bool frame_is_built_; 379 bool frame_is_built_;
378 380
379 // Builder that keeps track of safepoints in the code. The table 381 // Builder that keeps track of safepoints in the code. The table
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 LCodeGen* codegen_; 440 LCodeGen* codegen_;
439 Label entry_; 441 Label entry_;
440 Label exit_; 442 Label exit_;
441 Label* external_exit_; 443 Label* external_exit_;
442 int instruction_index_; 444 int instruction_index_;
443 }; 445 };
444 446
445 } } // namespace v8::internal 447 } } // namespace v8::internal
446 448
447 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 449 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « 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