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

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

Issue 6279011: IA32: Refactor common string add code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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 | « no previous file | src/ia32/code-stubs-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 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 Label* slow, 301 Label* slow,
302 SmiCodeGenerateHeapNumberResults heapnumber_results); 302 SmiCodeGenerateHeapNumberResults heapnumber_results);
303 void GenerateLoadArguments(MacroAssembler* masm); 303 void GenerateLoadArguments(MacroAssembler* masm);
304 void GenerateReturn(MacroAssembler* masm); 304 void GenerateReturn(MacroAssembler* masm);
305 void GenerateUninitializedStub(MacroAssembler* masm); 305 void GenerateUninitializedStub(MacroAssembler* masm);
306 void GenerateSmiStub(MacroAssembler* masm); 306 void GenerateSmiStub(MacroAssembler* masm);
307 void GenerateInt32Stub(MacroAssembler* masm); 307 void GenerateInt32Stub(MacroAssembler* masm);
308 void GenerateHeapNumberStub(MacroAssembler* masm); 308 void GenerateHeapNumberStub(MacroAssembler* masm);
309 void GenerateStringStub(MacroAssembler* masm); 309 void GenerateStringStub(MacroAssembler* masm);
310 void GenerateGenericStub(MacroAssembler* masm); 310 void GenerateGenericStub(MacroAssembler* masm);
311 void GenerateAddStrings(MacroAssembler* masm);
311 312
312 void GenerateHeapResultAllocation(MacroAssembler* masm, Label* alloc_failure); 313 void GenerateHeapResultAllocation(MacroAssembler* masm, Label* alloc_failure);
313 void GenerateRegisterArgsPush(MacroAssembler* masm); 314 void GenerateRegisterArgsPush(MacroAssembler* masm);
314 void GenerateTypeTransition(MacroAssembler* masm); 315 void GenerateTypeTransition(MacroAssembler* masm);
315 void GenerateTypeTransitionWithSavedArgs(MacroAssembler* masm); 316 void GenerateTypeTransitionWithSavedArgs(MacroAssembler* masm);
316 317
317 virtual int GetCodeKind() { return Code::TYPE_RECORDING_BINARY_OP_IC; } 318 virtual int GetCodeKind() { return Code::TYPE_RECORDING_BINARY_OP_IC; }
318 319
319 virtual InlineCacheState GetICState() { 320 virtual InlineCacheState GetICState() {
320 return TRBinaryOpIC::ToState(operands_type_); 321 return TRBinaryOpIC::ToState(operands_type_);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 void Print() { 486 void Print() {
486 PrintF("NumberToStringStub\n"); 487 PrintF("NumberToStringStub\n");
487 } 488 }
488 #endif 489 #endif
489 }; 490 };
490 491
491 492
492 } } // namespace v8::internal 493 } } // namespace v8::internal
493 494
494 #endif // V8_IA32_CODE_STUBS_IA32_H_ 495 #endif // V8_IA32_CODE_STUBS_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698