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

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

Issue 699143002: Revert "Optimize function across closures." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/factory.cc ('k') | src/objects.h » ('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 6103 matching lines...) Expand 10 before | Expand all | Expand 10 after
6114 6114
6115 static HObjectAccess ForCodeOffset() { 6115 static HObjectAccess ForCodeOffset() {
6116 return HObjectAccess(kInobject, SharedFunctionInfo::kCodeOffset); 6116 return HObjectAccess(kInobject, SharedFunctionInfo::kCodeOffset);
6117 } 6117 }
6118 6118
6119 static HObjectAccess ForOptimizedCodeMap() { 6119 static HObjectAccess ForOptimizedCodeMap() {
6120 return HObjectAccess(kInobject, 6120 return HObjectAccess(kInobject,
6121 SharedFunctionInfo::kOptimizedCodeMapOffset); 6121 SharedFunctionInfo::kOptimizedCodeMapOffset);
6122 } 6122 }
6123 6123
6124 static HObjectAccess ForCompileHint() {
6125 return HObjectAccess(kInobject, SharedFunctionInfo::kCompilerHintsOffset,
6126 Representation::Smi());
6127 }
6128
6129 static HObjectAccess ForFunctionContextPointer() { 6124 static HObjectAccess ForFunctionContextPointer() {
6130 return HObjectAccess(kInobject, JSFunction::kContextOffset); 6125 return HObjectAccess(kInobject, JSFunction::kContextOffset);
6131 } 6126 }
6132 6127
6133 static HObjectAccess ForMap() { 6128 static HObjectAccess ForMap() {
6134 return HObjectAccess(kMaps, JSObject::kMapOffset); 6129 return HObjectAccess(kMaps, JSObject::kMapOffset);
6135 } 6130 }
6136 6131
6137 static HObjectAccess ForMapAsInteger32() { 6132 static HObjectAccess ForMapAsInteger32() {
6138 return HObjectAccess(kMaps, JSObject::kMapOffset, 6133 return HObjectAccess(kMaps, JSObject::kMapOffset,
(...skipping 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after
7916 }; 7911 };
7917 7912
7918 7913
7919 7914
7920 #undef DECLARE_INSTRUCTION 7915 #undef DECLARE_INSTRUCTION
7921 #undef DECLARE_CONCRETE_INSTRUCTION 7916 #undef DECLARE_CONCRETE_INSTRUCTION
7922 7917
7923 } } // namespace v8::internal 7918 } } // namespace v8::internal
7924 7919
7925 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7920 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698