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

Side by Side Diff: src/x64/code-stubs-x64.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/write-buffer-inl.h ('k') | src/x64/code-stubs-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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ToBooleanStub() { } 56 ToBooleanStub() { }
57 57
58 void Generate(MacroAssembler* masm); 58 void Generate(MacroAssembler* masm);
59 59
60 private: 60 private:
61 Major MajorKey() { return ToBoolean; } 61 Major MajorKey() { return ToBoolean; }
62 int MinorKey() { return 0; } 62 int MinorKey() { return 0; }
63 }; 63 };
64 64
65 65
66 class WriteBufferOverflowStub: public CodeStub { 66 class StoreBufferOverflowStub: public CodeStub {
67 public: 67 public:
68 explicit WriteBufferOverflowStub(SaveFPRegsMode save_fp) 68 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp)
69 : save_doubles_(save_fp) { } 69 : save_doubles_(save_fp) { }
70 70
71 void Generate(MacroAssembler* masm); 71 void Generate(MacroAssembler* masm);
72 72
73 private: 73 private:
74 SaveFPRegsMode save_doubles_; 74 SaveFPRegsMode save_doubles_;
75 75
76 Major MajorKey() { return WriteBufferOverflow; } 76 Major MajorKey() { return StoreBufferOverflow; }
77 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } 77 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; }
78 }; 78 };
79 79
80 80
81 // Flag that indicates how to generate code for the stub GenericBinaryOpStub. 81 // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
82 enum GenericBinaryFlags { 82 enum GenericBinaryFlags {
83 NO_GENERIC_BINARY_FLAGS = 0, 83 NO_GENERIC_BINARY_FLAGS = 0,
84 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub. 84 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub.
85 }; 85 };
86 86
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 void Print() { 359 void Print() {
360 PrintF("NumberToStringStub\n"); 360 PrintF("NumberToStringStub\n");
361 } 361 }
362 #endif 362 #endif
363 }; 363 };
364 364
365 365
366 } } // namespace v8::internal 366 } } // namespace v8::internal
367 367
368 #endif // V8_X64_CODE_STUBS_X64_H_ 368 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/write-buffer-inl.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698