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

Side by Side Diff: src/objects.cc

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: handle the case where Deoptimizer::function_ is a Smi Created 3 years, 9 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
« no previous file with comments | « src/interface-descriptors.cc ('k') | test/mjsunit/arguments-deopt.js » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/objects.h" 5 #include "src/objects.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <iomanip> 8 #include <iomanip>
9 #include <memory> 9 #include <memory>
10 #include <sstream> 10 #include <sstream>
(...skipping 14385 matching lines...) Expand 10 before | Expand all | Expand 10 after
14396 << ")}"; 14396 << ")}";
14397 break; 14397 break;
14398 } 14398 }
14399 14399
14400 case Translation::DUPLICATED_OBJECT: { 14400 case Translation::DUPLICATED_OBJECT: {
14401 int object_index = iterator.Next(); 14401 int object_index = iterator.Next();
14402 os << "{object_index=" << object_index << "}"; 14402 os << "{object_index=" << object_index << "}";
14403 break; 14403 break;
14404 } 14404 }
14405 14405
14406 case Translation::ARGUMENTS_ELEMENTS: {
14407 bool is_rest = iterator.Next();
14408 os << "{is_rest=" << (is_rest ? "true" : "false") << "}";
14409 break;
14410 }
14411
14406 case Translation::ARGUMENTS_OBJECT: 14412 case Translation::ARGUMENTS_OBJECT:
14407 case Translation::CAPTURED_OBJECT: { 14413 case Translation::CAPTURED_OBJECT: {
14408 int args_length = iterator.Next(); 14414 int args_length = iterator.Next();
14409 os << "{length=" << args_length << "}"; 14415 os << "{length=" << args_length << "}";
14410 break; 14416 break;
14411 } 14417 }
14412 } 14418 }
14413 os << "\n"; 14419 os << "\n";
14414 } 14420 }
14415 } 14421 }
(...skipping 5706 matching lines...) Expand 10 before | Expand all | Expand 10 after
20122 // depend on this. 20128 // depend on this.
20123 return DICTIONARY_ELEMENTS; 20129 return DICTIONARY_ELEMENTS;
20124 } 20130 }
20125 DCHECK_LE(kind, LAST_ELEMENTS_KIND); 20131 DCHECK_LE(kind, LAST_ELEMENTS_KIND);
20126 return kind; 20132 return kind;
20127 } 20133 }
20128 } 20134 }
20129 20135
20130 } // namespace internal 20136 } // namespace internal
20131 } // namespace v8 20137 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.cc ('k') | test/mjsunit/arguments-deopt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698