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

Side by Side Diff: src/arm/macro-assembler-arm.cc

Issue 3473020: [Isolates] Make lint happy. (Closed)
Patch Set: Created 10 years, 2 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
« no previous file with comments | « no previous file | 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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1896 CallCFunctionHelper(no_reg, function, ip, num_arguments); 1896 CallCFunctionHelper(no_reg, function, ip, num_arguments);
1897 } 1897 }
1898 1898
1899 void MacroAssembler::CallCFunction(Register function, 1899 void MacroAssembler::CallCFunction(Register function,
1900 Register scratch, 1900 Register scratch,
1901 int num_arguments) { 1901 int num_arguments) {
1902 CallCFunctionHelper(function, 1902 CallCFunctionHelper(function,
1903 ExternalReference::the_hole_value_location(), 1903 ExternalReference::the_hole_value_location(),
1904 scratch, 1904 scratch,
1905 num_arguments); 1905 num_arguments);
1906
1907 } 1906 }
1908 1907
1909 1908
1910 void MacroAssembler::CallCFunctionHelper(Register function, 1909 void MacroAssembler::CallCFunctionHelper(Register function,
1911 ExternalReference function_reference, 1910 ExternalReference function_reference,
1912 Register scratch, 1911 Register scratch,
1913 int num_arguments) { 1912 int num_arguments) {
1914 // Push Isolate address as the last argument. 1913 // Push Isolate address as the last argument.
1915 if (num_arguments < kRegisterPassedArguments) { 1914 if (num_arguments < kRegisterPassedArguments) {
1916 Register arg_to_reg[] = {r0, r1, r2, r3}; 1915 Register arg_to_reg[] = {r0, r1, r2, r3};
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 1991
1993 void CodePatcher::Emit(Address addr) { 1992 void CodePatcher::Emit(Address addr) {
1994 masm()->emit(reinterpret_cast<Instr>(addr)); 1993 masm()->emit(reinterpret_cast<Instr>(addr));
1995 } 1994 }
1996 #endif // ENABLE_DEBUGGER_SUPPORT 1995 #endif // ENABLE_DEBUGGER_SUPPORT
1997 1996
1998 1997
1999 } } // namespace v8::internal 1998 } } // namespace v8::internal
2000 1999
2001 #endif // V8_TARGET_ARCH_ARM 2000 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698