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

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

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A partial delta against Toon's previous review Created 7 years, 9 months 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/ia32/builtins-ia32.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 // 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 5684 matching lines...) Expand 10 before | Expand all | Expand 10 after
5695 } 5695 }
5696 5696
5697 // Maximum depth and total number of elements and properties for literal 5697 // Maximum depth and total number of elements and properties for literal
5698 // graphs to be considered for fast deep-copying. 5698 // graphs to be considered for fast deep-copying.
5699 static const int kMaxLiteralDepth = 3; 5699 static const int kMaxLiteralDepth = 3;
5700 static const int kMaxLiteralProperties = 8; 5700 static const int kMaxLiteralProperties = 8;
5701 5701
5702 HValue* context() { return OperandAt(0); } 5702 HValue* context() { return OperandAt(0); }
5703 Handle<JSObject> boilerplate() const { return boilerplate_; } 5703 Handle<JSObject> boilerplate() const { return boilerplate_; }
5704 int total_size() const { return total_size_; } 5704 int total_size() const { return total_size_; }
5705
5706 virtual Representation RequiredInputRepresentation(int index) { 5705 virtual Representation RequiredInputRepresentation(int index) {
5707 return Representation::Tagged(); 5706 return Representation::Tagged();
5708 } 5707 }
5709 virtual Handle<Map> GetMonomorphicJSObjectMap() { 5708 virtual Handle<Map> GetMonomorphicJSObjectMap() {
5710 return Handle<Map>(boilerplate()->map()); 5709 return Handle<Map>(boilerplate()->map());
5711 } 5710 }
5712 virtual HType CalculateInferredType(); 5711 virtual HType CalculateInferredType();
5713 5712
5714 DECLARE_CONCRETE_INSTRUCTION(FastLiteral) 5713 DECLARE_CONCRETE_INSTRUCTION(FastLiteral)
5715 5714
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
6163 virtual bool IsDeletable() const { return true; } 6162 virtual bool IsDeletable() const { return true; }
6164 }; 6163 };
6165 6164
6166 6165
6167 #undef DECLARE_INSTRUCTION 6166 #undef DECLARE_INSTRUCTION
6168 #undef DECLARE_CONCRETE_INSTRUCTION 6167 #undef DECLARE_CONCRETE_INSTRUCTION
6169 6168
6170 } } // namespace v8::internal 6169 } } // namespace v8::internal
6171 6170
6172 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6171 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698