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

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

Issue 866493003: Retry "Use a WeakCell in the CallIC type vector." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. 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/heap/objects-visiting-inl.h ('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 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after
7999 }; 8003 };
8000 8004
8001 8005
8002 8006
8003 #undef DECLARE_INSTRUCTION 8007 #undef DECLARE_INSTRUCTION
8004 #undef DECLARE_CONCRETE_INSTRUCTION 8008 #undef DECLARE_CONCRETE_INSTRUCTION
8005 8009
8006 } } // namespace v8::internal 8010 } } // namespace v8::internal
8007 8011
8008 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 8012 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/heap/objects-visiting-inl.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698