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

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

Issue 703603003: Reland "Optimize function across closures." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix 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
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
6124 static HObjectAccess ForFunctionContextPointer() { 6129 static HObjectAccess ForFunctionContextPointer() {
6125 return HObjectAccess(kInobject, JSFunction::kContextOffset); 6130 return HObjectAccess(kInobject, JSFunction::kContextOffset);
6126 } 6131 }
6127 6132
6128 static HObjectAccess ForMap() { 6133 static HObjectAccess ForMap() {
6129 return HObjectAccess(kMaps, JSObject::kMapOffset); 6134 return HObjectAccess(kMaps, JSObject::kMapOffset);
6130 } 6135 }
6131 6136
6132 static HObjectAccess ForMapAsInteger32() { 6137 static HObjectAccess ForMapAsInteger32() {
6133 return HObjectAccess(kMaps, JSObject::kMapOffset, 6138 return HObjectAccess(kMaps, JSObject::kMapOffset,
(...skipping 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after
7911 }; 7916 };
7912 7917
7913 7918
7914 7919
7915 #undef DECLARE_INSTRUCTION 7920 #undef DECLARE_INSTRUCTION
7916 #undef DECLARE_CONCRETE_INSTRUCTION 7921 #undef DECLARE_CONCRETE_INSTRUCTION
7917 7922
7918 } } // namespace v8::internal 7923 } } // namespace v8::internal
7919 7924
7920 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7925 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects.h » ('j') | src/runtime-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698