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

Side by Side Diff: src/arm/lithium-codegen-arm.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 | « no previous file | src/arm/lithium-codegen-arm.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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 LPlatformChunk* const chunk_; 403 LPlatformChunk* const chunk_;
403 MacroAssembler* const masm_; 404 MacroAssembler* const masm_;
404 CompilationInfo* const info_; 405 CompilationInfo* const info_;
405 406
406 int current_block_; 407 int current_block_;
407 int current_instruction_; 408 int current_instruction_;
408 const ZoneList<LInstruction*>* instructions_; 409 const ZoneList<LInstruction*>* instructions_;
409 ZoneList<LEnvironment*> deoptimizations_; 410 ZoneList<LEnvironment*> deoptimizations_;
410 ZoneList<JumpTableEntry> deopt_jump_table_; 411 ZoneList<JumpTableEntry> deopt_jump_table_;
411 ZoneList<Handle<Object> > deoptimization_literals_; 412 ZoneList<Handle<Object> > deoptimization_literals_;
413 ZoneList<Handle<Map> > prototype_maps_;
412 int inlined_function_count_; 414 int inlined_function_count_;
413 Scope* const scope_; 415 Scope* const scope_;
414 Status status_; 416 Status status_;
415 TranslationBuffer translations_; 417 TranslationBuffer translations_;
416 ZoneList<LDeferredCode*> deferred_; 418 ZoneList<LDeferredCode*> deferred_;
417 int osr_pc_offset_; 419 int osr_pc_offset_;
418 int last_lazy_deopt_pc_; 420 int last_lazy_deopt_pc_;
419 bool frame_is_built_; 421 bool frame_is_built_;
420 422
421 // Builder that keeps track of safepoints in the code. The table 423 // Builder that keeps track of safepoints in the code. The table
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 LCodeGen* codegen_; 503 LCodeGen* codegen_;
502 Label entry_; 504 Label entry_;
503 Label exit_; 505 Label exit_;
504 Label* external_exit_; 506 Label* external_exit_;
505 int instruction_index_; 507 int instruction_index_;
506 }; 508 };
507 509
508 } } // namespace v8::internal 510 } } // namespace v8::internal
509 511
510 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 512 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698