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/lithium-codegen-ia32.cc

Issue 7172030: Revert "Merge arguments branch to bleeding merge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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/ia32/ic-ia32.cc ('k') | src/ic.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 // TODO(danno): we could be more clever here, perhaps having a special 2497 // TODO(danno): we could be more clever here, perhaps having a special
2498 // version of the stub that detects if the overflow case actually 2498 // version of the stub that detects if the overflow case actually
2499 // happens, and generate code that returns a double rather than int. 2499 // happens, and generate code that returns a double rather than int.
2500 DeoptimizeIf(negative, instr->environment()); 2500 DeoptimizeIf(negative, instr->environment());
2501 break; 2501 break;
2502 case JSObject::EXTERNAL_FLOAT_ELEMENTS: 2502 case JSObject::EXTERNAL_FLOAT_ELEMENTS:
2503 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: 2503 case JSObject::EXTERNAL_DOUBLE_ELEMENTS:
2504 case JSObject::FAST_ELEMENTS: 2504 case JSObject::FAST_ELEMENTS:
2505 case JSObject::FAST_DOUBLE_ELEMENTS: 2505 case JSObject::FAST_DOUBLE_ELEMENTS:
2506 case JSObject::DICTIONARY_ELEMENTS: 2506 case JSObject::DICTIONARY_ELEMENTS:
2507 case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS:
2508 UNREACHABLE(); 2507 UNREACHABLE();
2509 break; 2508 break;
2510 } 2509 }
2511 } 2510 }
2512 } 2511 }
2513 2512
2514 2513
2515 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { 2514 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
2516 ASSERT(ToRegister(instr->context()).is(esi)); 2515 ASSERT(ToRegister(instr->context()).is(esi));
2517 ASSERT(ToRegister(instr->object()).is(edx)); 2516 ASSERT(ToRegister(instr->object()).is(edx));
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
3234 break; 3233 break;
3235 case JSObject::EXTERNAL_INT_ELEMENTS: 3234 case JSObject::EXTERNAL_INT_ELEMENTS:
3236 case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS: 3235 case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS:
3237 __ mov(operand, value); 3236 __ mov(operand, value);
3238 break; 3237 break;
3239 case JSObject::EXTERNAL_FLOAT_ELEMENTS: 3238 case JSObject::EXTERNAL_FLOAT_ELEMENTS:
3240 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: 3239 case JSObject::EXTERNAL_DOUBLE_ELEMENTS:
3241 case JSObject::FAST_ELEMENTS: 3240 case JSObject::FAST_ELEMENTS:
3242 case JSObject::FAST_DOUBLE_ELEMENTS: 3241 case JSObject::FAST_DOUBLE_ELEMENTS:
3243 case JSObject::DICTIONARY_ELEMENTS: 3242 case JSObject::DICTIONARY_ELEMENTS:
3244 case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS:
3245 UNREACHABLE(); 3243 UNREACHABLE();
3246 break; 3244 break;
3247 } 3245 }
3248 } 3246 }
3249 } 3247 }
3250 3248
3251 3249
3252 void LCodeGen::DoStoreKeyedFastElement(LStoreKeyedFastElement* instr) { 3250 void LCodeGen::DoStoreKeyedFastElement(LStoreKeyedFastElement* instr) {
3253 Register value = ToRegister(instr->value()); 3251 Register value = ToRegister(instr->value());
3254 Register elements = ToRegister(instr->object()); 3252 Register elements = ToRegister(instr->object());
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
4463 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); 4461 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));
4464 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); 4462 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator);
4465 } 4463 }
4466 4464
4467 4465
4468 #undef __ 4466 #undef __
4469 4467
4470 } } // namespace v8::internal 4468 } } // namespace v8::internal
4471 4469
4472 #endif // V8_TARGET_ARCH_IA32 4470 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698