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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 7080027: Merge bleeding edge revision 8109 to 3.3 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.3/
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/arm/builtins-arm.cc ('k') | src/arm/full-codegen-arm.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 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 4505 matching lines...) Expand 10 before | Expand all | Expand 10 after
4516 __ b(ne, &slow); 4516 __ b(ne, &slow);
4517 4517
4518 // Fast-case: Invoke the function now. 4518 // Fast-case: Invoke the function now.
4519 // r1: pushed function 4519 // r1: pushed function
4520 ParameterCount actual(argc_); 4520 ParameterCount actual(argc_);
4521 4521
4522 if (ReceiverMightBeImplicit()) { 4522 if (ReceiverMightBeImplicit()) {
4523 Label call_as_function; 4523 Label call_as_function;
4524 __ CompareRoot(r4, Heap::kTheHoleValueRootIndex); 4524 __ CompareRoot(r4, Heap::kTheHoleValueRootIndex);
4525 __ b(eq, &call_as_function); 4525 __ b(eq, &call_as_function);
4526 __ InvokeFunction(r1, actual, JUMP_FUNCTION); 4526 __ InvokeFunction(r1,
4527 actual,
4528 JUMP_FUNCTION,
4529 NullCallWrapper(),
4530 CALL_AS_METHOD);
4527 __ bind(&call_as_function); 4531 __ bind(&call_as_function);
4528 } 4532 }
4529 __ InvokeFunction(r1, 4533 __ InvokeFunction(r1,
4530 actual, 4534 actual,
4531 JUMP_FUNCTION, 4535 JUMP_FUNCTION,
4532 NullCallWrapper(), 4536 NullCallWrapper(),
4533 CALL_AS_FUNCTION); 4537 CALL_AS_FUNCTION);
4534 4538
4535 // Slow-case: Non-function called. 4539 // Slow-case: Non-function called.
4536 __ bind(&slow); 4540 __ bind(&slow);
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
6389 __ mov(result, Operand(0)); 6393 __ mov(result, Operand(0));
6390 __ Ret(); 6394 __ Ret();
6391 } 6395 }
6392 6396
6393 6397
6394 #undef __ 6398 #undef __
6395 6399
6396 } } // namespace v8::internal 6400 } } // namespace v8::internal
6397 6401
6398 #endif // V8_TARGET_ARCH_ARM 6402 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698