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

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

Issue 1276533003: [runtime] Store constructor function index on primitive maps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm failures Created 5 years, 4 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.cc ('k') | src/ia32/builtins-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 6088 matching lines...) Expand 10 before | Expand all | Expand 10 after
6099 6099
6100 static HObjectAccess ForPrototype() { 6100 static HObjectAccess ForPrototype() {
6101 return HObjectAccess(kMaps, Map::kPrototypeOffset); 6101 return HObjectAccess(kMaps, Map::kPrototypeOffset);
6102 } 6102 }
6103 6103
6104 static HObjectAccess ForMapAsInteger32() { 6104 static HObjectAccess ForMapAsInteger32() {
6105 return HObjectAccess(kMaps, JSObject::kMapOffset, 6105 return HObjectAccess(kMaps, JSObject::kMapOffset,
6106 Representation::Integer32()); 6106 Representation::Integer32());
6107 } 6107 }
6108 6108
6109 static HObjectAccess ForMapInObjectProperties() { 6109 static HObjectAccess ForMapInObjectPropertiesOrConstructorFunctionIndex() {
6110 return HObjectAccess(kInobject, 6110 return HObjectAccess(
6111 Map::kInObjectPropertiesOffset, 6111 kInobject, Map::kInObjectPropertiesOrConstructorFunctionIndexOffset,
6112 Representation::UInteger8()); 6112 Representation::UInteger8());
6113 } 6113 }
6114 6114
6115 static HObjectAccess ForMapInstanceType() { 6115 static HObjectAccess ForMapInstanceType() {
6116 return HObjectAccess(kInobject, 6116 return HObjectAccess(kInobject,
6117 Map::kInstanceTypeOffset, 6117 Map::kInstanceTypeOffset,
6118 Representation::UInteger8()); 6118 Representation::UInteger8());
6119 } 6119 }
6120 6120
6121 static HObjectAccess ForMapInstanceSize() { 6121 static HObjectAccess ForMapInstanceSize() {
6122 return HObjectAccess(kInobject, 6122 return HObjectAccess(kInobject,
(...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after
8061 }; 8061 };
8062 8062
8063 8063
8064 8064
8065 #undef DECLARE_INSTRUCTION 8065 #undef DECLARE_INSTRUCTION
8066 #undef DECLARE_CONCRETE_INSTRUCTION 8066 #undef DECLARE_CONCRETE_INSTRUCTION
8067 8067
8068 } } // namespace v8::internal 8068 } } // namespace v8::internal
8069 8069
8070 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 8070 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698