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

Side by Side Diff: src/x64/code-stubs-x64.h

Issue 6321012: Version 3.0.9... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 11 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/x64/assembler-x64.cc ('k') | src/x64/deoptimizer-x64.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 return runtime_operands_type_ != BinaryOpIC::STRINGS; 191 return runtime_operands_type_ != BinaryOpIC::STRINGS;
192 } 192 }
193 193
194 virtual int GetCodeKind() { return Code::BINARY_OP_IC; } 194 virtual int GetCodeKind() { return Code::BINARY_OP_IC; }
195 195
196 virtual InlineCacheState GetICState() { 196 virtual InlineCacheState GetICState() {
197 return BinaryOpIC::ToState(runtime_operands_type_); 197 return BinaryOpIC::ToState(runtime_operands_type_);
198 } 198 }
199 199
200 friend class CodeGenerator; 200 friend class CodeGenerator;
201 friend class LCodeGen;
201 }; 202 };
202 203
203 204
204 class TypeRecordingBinaryOpStub: public CodeStub { 205 class TypeRecordingBinaryOpStub: public CodeStub {
205 public: 206 public:
206 TypeRecordingBinaryOpStub(Token::Value op, OverwriteMode mode) 207 TypeRecordingBinaryOpStub(Token::Value op, OverwriteMode mode)
207 : op_(op), 208 : op_(op),
208 mode_(mode), 209 mode_(mode),
209 operands_type_(TRBinaryOpIC::UNINITIALIZED), 210 operands_type_(TRBinaryOpIC::UNINITIALIZED),
210 result_type_(TRBinaryOpIC::UNINITIALIZED), 211 result_type_(TRBinaryOpIC::UNINITIALIZED),
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 void Print() { 443 void Print() {
443 PrintF("NumberToStringStub\n"); 444 PrintF("NumberToStringStub\n");
444 } 445 }
445 #endif 446 #endif
446 }; 447 };
447 448
448 449
449 } } // namespace v8::internal 450 } } // namespace v8::internal
450 451
451 #endif // V8_X64_CODE_STUBS_X64_H_ 452 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698