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

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

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Clean up EnterArgumentsAdaptorFrame Created 7 years 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5994 matching lines...) Expand 10 before | Expand all | Expand 10 after
6005 6005
6006 static HObjectAccess ForOptimizedCodeMap() { 6006 static HObjectAccess ForOptimizedCodeMap() {
6007 return HObjectAccess(kInobject, 6007 return HObjectAccess(kInobject,
6008 SharedFunctionInfo::kOptimizedCodeMapOffset); 6008 SharedFunctionInfo::kOptimizedCodeMapOffset);
6009 } 6009 }
6010 6010
6011 static HObjectAccess ForFunctionContextPointer() { 6011 static HObjectAccess ForFunctionContextPointer() {
6012 return HObjectAccess(kInobject, JSFunction::kContextOffset); 6012 return HObjectAccess(kInobject, JSFunction::kContextOffset);
6013 } 6013 }
6014 6014
6015 static HObjectAccess ForFunctionConstantPoolPointer() {
6016 return HObjectAccess(kInobject, JSFunction::kConstantPoolOffset);
6017 }
6018
6015 static HObjectAccess ForMap() { 6019 static HObjectAccess ForMap() {
6016 return HObjectAccess(kMaps, JSObject::kMapOffset); 6020 return HObjectAccess(kMaps, JSObject::kMapOffset);
6017 } 6021 }
6018 6022
6019 static HObjectAccess ForMapInstanceSize() { 6023 static HObjectAccess ForMapInstanceSize() {
6020 return HObjectAccess(kInobject, 6024 return HObjectAccess(kInobject,
6021 Map::kInstanceSizeOffset, 6025 Map::kInstanceSizeOffset,
6022 Representation::UInteger8()); 6026 Representation::UInteger8());
6023 } 6027 }
6024 6028
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
7471 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7475 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7472 }; 7476 };
7473 7477
7474 7478
7475 #undef DECLARE_INSTRUCTION 7479 #undef DECLARE_INSTRUCTION
7476 #undef DECLARE_CONCRETE_INSTRUCTION 7480 #undef DECLARE_CONCRETE_INSTRUCTION
7477 7481
7478 } } // namespace v8::internal 7482 } } // namespace v8::internal
7479 7483
7480 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7484 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698