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

Side by Side Diff: src/lithium.h

Issue 8983027: Rollback 10331: Make sure transitioned arrays efficiently call builtin Array functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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/ia32/stub-cache-ia32.cc ('k') | src/objects.h » ('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 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 ZoneList<LOperand*> values_; 516 ZoneList<LOperand*> values_;
517 ZoneList<Representation> representations_; 517 ZoneList<Representation> representations_;
518 518
519 // Allocation index indexed arrays of spill slot operands for registers 519 // Allocation index indexed arrays of spill slot operands for registers
520 // that are also in spill slots at an OSR entry. NULL for environments 520 // that are also in spill slots at an OSR entry. NULL for environments
521 // that do not correspond to an OSR entry. 521 // that do not correspond to an OSR entry.
522 LOperand** spilled_registers_; 522 LOperand** spilled_registers_;
523 LOperand** spilled_double_registers_; 523 LOperand** spilled_double_registers_;
524 524
525 LEnvironment* outer_; 525 LEnvironment* outer_;
526
527 friend class LCodegen;
526 }; 528 };
527 529
528 530
529 // Iterates over the non-null, non-constant operands in an environment. 531 // Iterates over the non-null, non-constant operands in an environment.
530 class ShallowIterator BASE_EMBEDDED { 532 class ShallowIterator BASE_EMBEDDED {
531 public: 533 public:
532 explicit ShallowIterator(LEnvironment* env) 534 explicit ShallowIterator(LEnvironment* env)
533 : env_(env), 535 : env_(env),
534 limit_(env != NULL ? env->values()->length() : 0), 536 limit_(env != NULL ? env->values()->length() : 0),
535 current_(0) { 537 current_(0) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 ShallowIterator current_iterator_; 601 ShallowIterator current_iterator_;
600 }; 602 };
601 603
602 604
603 int ElementsKindToShiftSize(ElementsKind elements_kind); 605 int ElementsKindToShiftSize(ElementsKind elements_kind);
604 606
605 607
606 } } // namespace v8::internal 608 } } // namespace v8::internal
607 609
608 #endif // V8_LITHIUM_H_ 610 #endif // V8_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698