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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 1124443004: New hydrogen instruction to reduce cost of growing an array on keyed stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 7 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/hydrogen-instructions.h ('k') | src/ia32/interface-descriptors-ia32.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 // 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/double.h" 8 #include "src/double.h"
9 #include "src/factory.h" 9 #include "src/factory.h"
10 #include "src/hydrogen-infer-representation.h" 10 #include "src/hydrogen-infer-representation.h"
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 case HValue::kDiv: 867 case HValue::kDiv:
868 case HValue::kForInCacheArray: 868 case HValue::kForInCacheArray:
869 case HValue::kForInPrepareMap: 869 case HValue::kForInPrepareMap:
870 case HValue::kFunctionLiteral: 870 case HValue::kFunctionLiteral:
871 case HValue::kInvokeFunction: 871 case HValue::kInvokeFunction:
872 case HValue::kLoadContextSlot: 872 case HValue::kLoadContextSlot:
873 case HValue::kLoadFunctionPrototype: 873 case HValue::kLoadFunctionPrototype:
874 case HValue::kLoadKeyed: 874 case HValue::kLoadKeyed:
875 case HValue::kLoadKeyedGeneric: 875 case HValue::kLoadKeyedGeneric:
876 case HValue::kMathFloorOfDiv: 876 case HValue::kMathFloorOfDiv:
877 case HValue::kMaybeGrowElements:
877 case HValue::kMod: 878 case HValue::kMod:
878 case HValue::kMul: 879 case HValue::kMul:
879 case HValue::kOsrEntry: 880 case HValue::kOsrEntry:
880 case HValue::kPower: 881 case HValue::kPower:
881 case HValue::kRor: 882 case HValue::kRor:
882 case HValue::kSar: 883 case HValue::kSar:
883 case HValue::kSeqStringSetChar: 884 case HValue::kSeqStringSetChar:
884 case HValue::kShl: 885 case HValue::kShl:
885 case HValue::kShr: 886 case HValue::kShr:
886 case HValue::kSimulate: 887 case HValue::kSimulate:
(...skipping 3837 matching lines...) Expand 10 before | Expand all | Expand 10 after
4724 break; 4725 break;
4725 case HObjectAccess::kExternalMemory: 4726 case HObjectAccess::kExternalMemory:
4726 os << "[external-memory]"; 4727 os << "[external-memory]";
4727 break; 4728 break;
4728 } 4729 }
4729 4730
4730 return os << "@" << access.offset(); 4731 return os << "@" << access.offset();
4731 } 4732 }
4732 4733
4733 } } // namespace v8::internal 4734 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/interface-descriptors-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698