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

Side by Side Diff: src/objects.cc

Issue 1427803003: Vector ICs: Allow for more IC kinds. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/objects.h ('k') | test/cctest/test-heap.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 <sstream> 9 #include <sstream>
10 10
(...skipping 13348 matching lines...) Expand 10 before | Expand all | Expand 10 after
13359 switch (state) { 13359 switch (state) {
13360 case UNINITIALIZED: return "UNINITIALIZED"; 13360 case UNINITIALIZED: return "UNINITIALIZED";
13361 case PREMONOMORPHIC: return "PREMONOMORPHIC"; 13361 case PREMONOMORPHIC: return "PREMONOMORPHIC";
13362 case MONOMORPHIC: return "MONOMORPHIC"; 13362 case MONOMORPHIC: return "MONOMORPHIC";
13363 case PROTOTYPE_FAILURE: 13363 case PROTOTYPE_FAILURE:
13364 return "PROTOTYPE_FAILURE"; 13364 return "PROTOTYPE_FAILURE";
13365 case POLYMORPHIC: return "POLYMORPHIC"; 13365 case POLYMORPHIC: return "POLYMORPHIC";
13366 case MEGAMORPHIC: return "MEGAMORPHIC"; 13366 case MEGAMORPHIC: return "MEGAMORPHIC";
13367 case GENERIC: return "GENERIC"; 13367 case GENERIC: return "GENERIC";
13368 case DEBUG_STUB: return "DEBUG_STUB"; 13368 case DEBUG_STUB: return "DEBUG_STUB";
13369 case DEFAULT:
13370 return "DEFAULT";
13371 } 13369 }
13372 UNREACHABLE(); 13370 UNREACHABLE();
13373 return NULL; 13371 return NULL;
13374 } 13372 }
13375 13373
13376 13374
13377 const char* Code::StubType2String(StubType type) { 13375 const char* Code::StubType2String(StubType type) {
13378 switch (type) { 13376 switch (type) {
13379 case NORMAL: return "NORMAL"; 13377 case NORMAL: return "NORMAL";
13380 case FAST: return "FAST"; 13378 case FAST: return "FAST";
(...skipping 4559 matching lines...) Expand 10 before | Expand all | Expand 10 after
17940 if (cell->value() != *new_value) { 17938 if (cell->value() != *new_value) {
17941 cell->set_value(*new_value); 17939 cell->set_value(*new_value);
17942 Isolate* isolate = cell->GetIsolate(); 17940 Isolate* isolate = cell->GetIsolate();
17943 cell->dependent_code()->DeoptimizeDependentCodeGroup( 17941 cell->dependent_code()->DeoptimizeDependentCodeGroup(
17944 isolate, DependentCode::kPropertyCellChangedGroup); 17942 isolate, DependentCode::kPropertyCellChangedGroup);
17945 } 17943 }
17946 } 17944 }
17947 17945
17948 } // namespace internal 17946 } // namespace internal
17949 } // namespace v8 17947 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.h ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698