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

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

Issue 881433002: Use a WeakCell in the CallIC type vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Now with fix for Mandreel Regression. Created 5 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
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/ia32/code-stubs-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 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_
6 #define V8_HYDROGEN_INSTRUCTIONS_H_ 6 #define V8_HYDROGEN_INSTRUCTIONS_H_
7 7
8 #include <cstring> 8 #include <cstring>
9 #include <iosfwd> 9 #include <iosfwd>
10 10
(...skipping 6209 matching lines...) Expand 10 before | Expand all | Expand 10 after
6220 } 6220 }
6221 6221
6222 static HObjectAccess ForCellValue() { 6222 static HObjectAccess ForCellValue() {
6223 return HObjectAccess(kInobject, Cell::kValueOffset); 6223 return HObjectAccess(kInobject, Cell::kValueOffset);
6224 } 6224 }
6225 6225
6226 static HObjectAccess ForWeakCellValue() { 6226 static HObjectAccess ForWeakCellValue() {
6227 return HObjectAccess(kInobject, WeakCell::kValueOffset); 6227 return HObjectAccess(kInobject, WeakCell::kValueOffset);
6228 } 6228 }
6229 6229
6230 static HObjectAccess ForWeakCellNext() {
6231 return HObjectAccess(kInobject, WeakCell::kNextOffset);
6232 }
6233
6230 static HObjectAccess ForAllocationMementoSite() { 6234 static HObjectAccess ForAllocationMementoSite() {
6231 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset); 6235 return HObjectAccess(kInobject, AllocationMemento::kAllocationSiteOffset);
6232 } 6236 }
6233 6237
6234 static HObjectAccess ForCounter() { 6238 static HObjectAccess ForCounter() {
6235 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(), 6239 return HObjectAccess(kExternalMemory, 0, Representation::Integer32(),
6236 Handle<String>::null(), false, false); 6240 Handle<String>::null(), false, false);
6237 } 6241 }
6238 6242
6239 static HObjectAccess ForExternalUInteger8() { 6243 static HObjectAccess ForExternalUInteger8() {
(...skipping 1749 matching lines...) Expand 10 before | Expand all | Expand 10 after
7989 }; 7993 };
7990 7994
7991 7995
7992 7996
7993 #undef DECLARE_INSTRUCTION 7997 #undef DECLARE_INSTRUCTION
7994 #undef DECLARE_CONCRETE_INSTRUCTION 7998 #undef DECLARE_CONCRETE_INSTRUCTION
7995 7999
7996 } } // namespace v8::internal 8000 } } // namespace v8::internal
7997 8001
7998 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 8002 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698