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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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: 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/ia32/lithium-codegen-ia32.cc » ('j') | src/ia32/lithium-codegen-ia32.cc » ('J')
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 : zone_(info->zone()), 50 : zone_(info->zone()),
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 inlined_function_count_(0), 61 inlined_function_count_(0),
61 scope_(info->scope()), 62 scope_(info->scope()),
62 status_(UNUSED), 63 status_(UNUSED),
63 translations_(info->zone()), 64 translations_(info->zone()),
64 deferred_(8, info->zone()), 65 deferred_(8, info->zone()),
65 dynamic_frame_alignment_(false), 66 dynamic_frame_alignment_(false),
66 support_aligned_spilled_doubles_(false), 67 support_aligned_spilled_doubles_(false),
67 osr_pc_offset_(-1), 68 osr_pc_offset_(-1),
68 last_lazy_deopt_pc_(0), 69 last_lazy_deopt_pc_(0),
69 frame_is_built_(false), 70 frame_is_built_(false),
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 bool needs_frame; 388 bool needs_frame;
388 bool is_lazy_deopt; 389 bool is_lazy_deopt;
389 }; 390 };
390 391
391 int current_block_; 392 int current_block_;
392 int current_instruction_; 393 int current_instruction_;
393 const ZoneList<LInstruction*>* instructions_; 394 const ZoneList<LInstruction*>* instructions_;
394 ZoneList<LEnvironment*> deoptimizations_; 395 ZoneList<LEnvironment*> deoptimizations_;
395 ZoneList<JumpTableEntry> jump_table_; 396 ZoneList<JumpTableEntry> jump_table_;
396 ZoneList<Handle<Object> > deoptimization_literals_; 397 ZoneList<Handle<Object> > deoptimization_literals_;
398 ZoneList<Handle<Map> > prototype_maps_;
397 int inlined_function_count_; 399 int inlined_function_count_;
398 Scope* const scope_; 400 Scope* const scope_;
399 Status status_; 401 Status status_;
400 TranslationBuffer translations_; 402 TranslationBuffer translations_;
401 ZoneList<LDeferredCode*> deferred_; 403 ZoneList<LDeferredCode*> deferred_;
402 bool dynamic_frame_alignment_; 404 bool dynamic_frame_alignment_;
403 bool support_aligned_spilled_doubles_; 405 bool support_aligned_spilled_doubles_;
404 int osr_pc_offset_; 406 int osr_pc_offset_;
405 int last_lazy_deopt_pc_; 407 int last_lazy_deopt_pc_;
406 bool frame_is_built_; 408 bool frame_is_built_;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 LCodeGen* codegen_; 469 LCodeGen* codegen_;
468 Label entry_; 470 Label entry_;
469 Label exit_; 471 Label exit_;
470 Label* external_exit_; 472 Label* external_exit_;
471 int instruction_index_; 473 int instruction_index_;
472 }; 474 };
473 475
474 } } // namespace v8::internal 476 } } // namespace v8::internal
475 477
476 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 478 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-codegen-ia32.cc » ('j') | src/ia32/lithium-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698