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

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

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.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 <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/v8.h" 10 #include "src/v8.h"
(...skipping 6258 matching lines...) Expand 10 before | Expand all | Expand 10 after
6269 static HObjectAccess ForObservableJSObjectOffset(int offset, 6269 static HObjectAccess ForObservableJSObjectOffset(int offset,
6270 Representation representation = Representation::Tagged()) { 6270 Representation representation = Representation::Tagged()) {
6271 return ForMapAndOffset(Handle<Map>::null(), offset, representation); 6271 return ForMapAndOffset(Handle<Map>::null(), offset, representation);
6272 } 6272 }
6273 6273
6274 // Create an access to an in-object property in a JSArray. 6274 // Create an access to an in-object property in a JSArray.
6275 static HObjectAccess ForJSArrayOffset(int offset); 6275 static HObjectAccess ForJSArrayOffset(int offset);
6276 6276
6277 static HObjectAccess ForContextSlot(int index); 6277 static HObjectAccess ForContextSlot(int index);
6278 6278
6279 static HObjectAccess ForGlobalContext(int index); 6279 static HObjectAccess ForScriptContext(int index);
6280 6280
6281 // Create an access to the backing store of an object. 6281 // Create an access to the backing store of an object.
6282 static HObjectAccess ForBackingStoreOffset(int offset, 6282 static HObjectAccess ForBackingStoreOffset(int offset,
6283 Representation representation = Representation::Tagged()); 6283 Representation representation = Representation::Tagged());
6284 6284
6285 // Create an access to a resolved field (in-object or backing store). 6285 // Create an access to a resolved field (in-object or backing store).
6286 static HObjectAccess ForField(Handle<Map> map, int index, 6286 static HObjectAccess ForField(Handle<Map> map, int index,
6287 Representation representation, 6287 Representation representation,
6288 Handle<String> name); 6288 Handle<String> name);
6289 6289
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
7982 }; 7982 };
7983 7983
7984 7984
7985 7985
7986 #undef DECLARE_INSTRUCTION 7986 #undef DECLARE_INSTRUCTION
7987 #undef DECLARE_CONCRETE_INSTRUCTION 7987 #undef DECLARE_CONCRETE_INSTRUCTION
7988 7988
7989 } } // namespace v8::internal 7989 } } // namespace v8::internal
7990 7990
7991 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7991 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698