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

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

Issue 5985012: Rename write buffers to store buffers. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
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/heap-inl.h ('k') | 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 ToBooleanStub() { } 65 ToBooleanStub() { }
66 66
67 void Generate(MacroAssembler* masm); 67 void Generate(MacroAssembler* masm);
68 68
69 private: 69 private:
70 Major MajorKey() { return ToBoolean; } 70 Major MajorKey() { return ToBoolean; }
71 int MinorKey() { return 0; } 71 int MinorKey() { return 0; }
72 }; 72 };
73 73
74 74
75 class WriteBufferOverflowStub: public CodeStub { 75 class StoreBufferOverflowStub: public CodeStub {
76 public: 76 public:
77 explicit WriteBufferOverflowStub(SaveFPRegsMode save_fp) 77 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp)
78 : save_doubles_(save_fp) { } 78 : save_doubles_(save_fp) { }
79 79
80 void Generate(MacroAssembler* masm); 80 void Generate(MacroAssembler* masm);
81 81
82 private: 82 private:
83 SaveFPRegsMode save_doubles_; 83 SaveFPRegsMode save_doubles_;
84 84
85 Major MajorKey() { return WriteBufferOverflow; } 85 Major MajorKey() { return StoreBufferOverflow; }
86 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } 86 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; }
87 }; 87 };
88 88
89 89
90 // Flag that indicates how to generate code for the stub GenericBinaryOpStub. 90 // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
91 enum GenericBinaryFlags { 91 enum GenericBinaryFlags {
92 NO_GENERIC_BINARY_FLAGS = 0, 92 NO_GENERIC_BINARY_FLAGS = 0,
93 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub. 93 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub.
94 }; 94 };
95 95
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 void Print() { 511 void Print() {
512 PrintF("NumberToStringStub\n"); 512 PrintF("NumberToStringStub\n");
513 } 513 }
514 #endif 514 #endif
515 }; 515 };
516 516
517 517
518 } } // namespace v8::internal 518 } } // namespace v8::internal
519 519
520 #endif // V8_IA32_CODE_STUBS_IA32_H_ 520 #endif // V8_IA32_CODE_STUBS_IA32_H_
OLDNEW
« no previous file with comments | « src/heap-inl.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698