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

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

Issue 7395030: Correctly mark functions from our natives files during compilation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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/messages.js ('k') | src/runtime.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 4895 matching lines...) Expand 10 before | Expand all | Expand 10 after
4906 CALL_AS_FUNCTION); 4906 CALL_AS_FUNCTION);
4907 4907
4908 // Slow-case: Non-function called. 4908 // Slow-case: Non-function called.
4909 __ bind(&slow); 4909 __ bind(&slow);
4910 // CALL_NON_FUNCTION expects the non-function callee as receiver (instead 4910 // CALL_NON_FUNCTION expects the non-function callee as receiver (instead
4911 // of the original receiver from the call site). 4911 // of the original receiver from the call site).
4912 __ sw(a1, MemOperand(sp, argc_ * kPointerSize)); 4912 __ sw(a1, MemOperand(sp, argc_ * kPointerSize));
4913 __ li(a0, Operand(argc_)); // Setup the number of arguments. 4913 __ li(a0, Operand(argc_)); // Setup the number of arguments.
4914 __ mov(a2, zero_reg); 4914 __ mov(a2, zero_reg);
4915 __ GetBuiltinEntry(a3, Builtins::CALL_NON_FUNCTION); 4915 __ GetBuiltinEntry(a3, Builtins::CALL_NON_FUNCTION);
4916 __ SetCallKind(t1, CALL_AS_METHOD);
4916 __ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(), 4917 __ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(),
4917 RelocInfo::CODE_TARGET); 4918 RelocInfo::CODE_TARGET);
4918 } 4919 }
4919 4920
4920 4921
4921 // Unfortunately you have to run without snapshots to see most of these 4922 // Unfortunately you have to run without snapshots to see most of these
4922 // names in the profile since most compare stubs end up in the snapshot. 4923 // names in the profile since most compare stubs end up in the snapshot.
4923 void CompareStub::PrintName(StringStream* stream) { 4924 void CompareStub::PrintName(StringStream* stream) {
4924 ASSERT((lhs_.is(a0) && rhs_.is(a1)) || 4925 ASSERT((lhs_.is(a0) && rhs_.is(a1)) ||
4925 (lhs_.is(a1) && rhs_.is(a0))); 4926 (lhs_.is(a1) && rhs_.is(a0)));
(...skipping 1894 matching lines...) Expand 10 before | Expand all | Expand 10 after
6820 __ mov(result, zero_reg); 6821 __ mov(result, zero_reg);
6821 __ Ret(); 6822 __ Ret();
6822 } 6823 }
6823 6824
6824 6825
6825 #undef __ 6826 #undef __
6826 6827
6827 } } // namespace v8::internal 6828 } } // namespace v8::internal
6828 6829
6829 #endif // V8_TARGET_ARCH_MIPS 6830 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698