OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 } | 215 } |
216 return false; | 216 return false; |
217 } | 217 } |
218 | 218 |
219 | 219 |
220 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 220 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
221 switch (type_) { | 221 switch (type_) { |
222 case READ_ELEMENT: | 222 case READ_ELEMENT: |
223 GenerateReadElement(masm); | 223 GenerateReadElement(masm); |
224 break; | 224 break; |
225 case NEW_NON_STRICT_FAST: | 225 case NEW_SLOPPY_FAST: |
226 GenerateNewNonStrictFast(masm); | 226 GenerateNewSloppyFast(masm); |
227 break; | 227 break; |
228 case NEW_NON_STRICT_SLOW: | 228 case NEW_SLOPPY_SLOW: |
229 GenerateNewNonStrictSlow(masm); | 229 GenerateNewSloppySlow(masm); |
230 break; | 230 break; |
231 case NEW_STRICT: | 231 case NEW_STRICT: |
232 GenerateNewStrict(masm); | 232 GenerateNewStrict(masm); |
233 break; | 233 break; |
234 } | 234 } |
235 } | 235 } |
236 | 236 |
237 | 237 |
238 int CEntryStub::MinorKey() { | 238 int CEntryStub::MinorKey() { |
239 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; | 239 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; |
240 ASSERT(result_size_ == 1 || result_size_ == 2); | 240 ASSERT(result_size_ == 1 || result_size_ == 2); |
241 #ifdef _WIN64 | 241 #ifdef _WIN64 |
242 return result | ((result_size_ == 1) ? 0 : 2); | 242 return result | ((result_size_ == 1) ? 0 : 2); |
243 #else | 243 #else |
244 return result; | 244 return result; |
245 #endif | 245 #endif |
246 } | 246 } |
247 | 247 |
248 | 248 |
249 } } // namespace v8::internal | 249 } } // namespace v8::internal |
OLD | NEW |