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/mips/lithium-codegen-mips.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/mark-compact.cc ('k') | src/mips/lithium-codegen-mips.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 : zone_(info->zone()), 47 : zone_(info->zone()),
48 chunk_(static_cast<LPlatformChunk*>(chunk)), 48 chunk_(static_cast<LPlatformChunk*>(chunk)),
49 masm_(assembler), 49 masm_(assembler),
50 info_(info), 50 info_(info),
51 current_block_(-1), 51 current_block_(-1),
52 current_instruction_(-1), 52 current_instruction_(-1),
53 instructions_(chunk->instructions()), 53 instructions_(chunk->instructions()),
54 deoptimizations_(4, info->zone()), 54 deoptimizations_(4, info->zone()),
55 deopt_jump_table_(4, info->zone()), 55 deopt_jump_table_(4, info->zone()),
56 deoptimization_literals_(8, info->zone()), 56 deoptimization_literals_(8, info->zone()),
57 prototype_maps_(0, info->zone()),
57 inlined_function_count_(0), 58 inlined_function_count_(0),
58 scope_(info->scope()), 59 scope_(info->scope()),
59 status_(UNUSED), 60 status_(UNUSED),
60 translations_(info->zone()), 61 translations_(info->zone()),
61 deferred_(8, info->zone()), 62 deferred_(8, info->zone()),
62 osr_pc_offset_(-1), 63 osr_pc_offset_(-1),
63 last_lazy_deopt_pc_(0), 64 last_lazy_deopt_pc_(0),
64 frame_is_built_(false), 65 frame_is_built_(false),
65 safepoints_(info->zone()), 66 safepoints_(info->zone()),
66 resolver_(this), 67 resolver_(this),
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 LPlatformChunk* const chunk_; 402 LPlatformChunk* const chunk_;
402 MacroAssembler* const masm_; 403 MacroAssembler* const masm_;
403 CompilationInfo* const info_; 404 CompilationInfo* const info_;
404 405
405 int current_block_; 406 int current_block_;
406 int current_instruction_; 407 int current_instruction_;
407 const ZoneList<LInstruction*>* instructions_; 408 const ZoneList<LInstruction*>* instructions_;
408 ZoneList<LEnvironment*> deoptimizations_; 409 ZoneList<LEnvironment*> deoptimizations_;
409 ZoneList<JumpTableEntry> deopt_jump_table_; 410 ZoneList<JumpTableEntry> deopt_jump_table_;
410 ZoneList<Handle<Object> > deoptimization_literals_; 411 ZoneList<Handle<Object> > deoptimization_literals_;
412 ZoneList<Handle<Map> > prototype_maps_;
411 int inlined_function_count_; 413 int inlined_function_count_;
412 Scope* const scope_; 414 Scope* const scope_;
413 Status status_; 415 Status status_;
414 TranslationBuffer translations_; 416 TranslationBuffer translations_;
415 ZoneList<LDeferredCode*> deferred_; 417 ZoneList<LDeferredCode*> deferred_;
416 int osr_pc_offset_; 418 int osr_pc_offset_;
417 int last_lazy_deopt_pc_; 419 int last_lazy_deopt_pc_;
418 bool frame_is_built_; 420 bool frame_is_built_;
419 421
420 // Builder that keeps track of safepoints in the code. The table 422 // Builder that keeps track of safepoints in the code. The table
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 LCodeGen* codegen_; 502 LCodeGen* codegen_;
501 Label entry_; 503 Label entry_;
502 Label exit_; 504 Label exit_;
503 Label* external_exit_; 505 Label* external_exit_;
504 int instruction_index_; 506 int instruction_index_;
505 }; 507 };
506 508
507 } } // namespace v8::internal 509 } } // namespace v8::internal
508 510
509 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 511 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698