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

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: Fix rebase error. 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 6008 matching lines...) Expand 10 before | Expand all | Expand 10 after
6019 6019
6020 static HObjectAccess ForOptimizedCodeMap() { 6020 static HObjectAccess ForOptimizedCodeMap() {
6021 return HObjectAccess(kInobject, 6021 return HObjectAccess(kInobject,
6022 SharedFunctionInfo::kOptimizedCodeMapOffset); 6022 SharedFunctionInfo::kOptimizedCodeMapOffset);
6023 } 6023 }
6024 6024
6025 static HObjectAccess ForFunctionContextPointer() { 6025 static HObjectAccess ForFunctionContextPointer() {
6026 return HObjectAccess(kInobject, JSFunction::kContextOffset); 6026 return HObjectAccess(kInobject, JSFunction::kContextOffset);
6027 } 6027 }
6028 6028
6029 static HObjectAccess ForFunctionConstantPoolPointer() {
6030 return HObjectAccess(kInobject, JSFunction::kConstantPoolOffset);
6031 }
6032
6029 static HObjectAccess ForMap() { 6033 static HObjectAccess ForMap() {
6030 return HObjectAccess(kMaps, JSObject::kMapOffset); 6034 return HObjectAccess(kMaps, JSObject::kMapOffset);
6031 } 6035 }
6032 6036
6033 static HObjectAccess ForMapInstanceSize() { 6037 static HObjectAccess ForMapInstanceSize() {
6034 return HObjectAccess(kInobject, 6038 return HObjectAccess(kInobject,
6035 Map::kInstanceSizeOffset, 6039 Map::kInstanceSizeOffset,
6036 Representation::UInteger8()); 6040 Representation::UInteger8());
6037 } 6041 }
6038 6042
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
7485 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7489 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7486 }; 7490 };
7487 7491
7488 7492
7489 #undef DECLARE_INSTRUCTION 7493 #undef DECLARE_INSTRUCTION
7490 #undef DECLARE_CONCRETE_INSTRUCTION 7494 #undef DECLARE_CONCRETE_INSTRUCTION
7491 7495
7492 } } // namespace v8::internal 7496 } } // namespace v8::internal
7493 7497
7494 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7498 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698