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

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

Issue 6226006: IA32: Refactor to avoid duplicate 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);
312 void GenerateCallRuntime(MacroAssembler* masm);
311 313
312 void GenerateHeapResultAllocation(MacroAssembler* masm, Label* alloc_failure); 314 void GenerateHeapResultAllocation(MacroAssembler* masm, Label* alloc_failure);
313 void GenerateRegisterArgsPush(MacroAssembler* masm); 315 void GenerateRegisterArgsPush(MacroAssembler* masm);
314 void GenerateTypeTransition(MacroAssembler* masm); 316 void GenerateTypeTransition(MacroAssembler* masm);
315 void GenerateTypeTransitionWithSavedArgs(MacroAssembler* masm); 317 void GenerateTypeTransitionWithSavedArgs(MacroAssembler* masm);
316 318
317 virtual int GetCodeKind() { return Code::TYPE_RECORDING_BINARY_OP_IC; } 319 virtual int GetCodeKind() { return Code::TYPE_RECORDING_BINARY_OP_IC; }
318 320
319 virtual InlineCacheState GetICState() { 321 virtual InlineCacheState GetICState() {
320 return TRBinaryOpIC::ToState(operands_type_); 322 return TRBinaryOpIC::ToState(operands_type_);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 void Print() { 487 void Print() {
486 PrintF("NumberToStringStub\n"); 488 PrintF("NumberToStringStub\n");
487 } 489 }
488 #endif 490 #endif
489 }; 491 };
490 492
491 493
492 } } // namespace v8::internal 494 } } // namespace v8::internal
493 495
494 #endif // V8_IA32_CODE_STUBS_IA32_H_ 496 #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