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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 15562007: MIPS: new style of property/function callbacks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed nits #2. Created 7 years, 7 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 | « no previous file | src/mips/macro-assembler-mips.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 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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 // abstract parameter passing for the three different ways we call 1230 // abstract parameter passing for the three different ways we call
1231 // C functions from generated code. 1231 // C functions from generated code.
1232 void SetCallCDoubleArguments(DoubleRegister dreg); 1232 void SetCallCDoubleArguments(DoubleRegister dreg);
1233 void SetCallCDoubleArguments(DoubleRegister dreg1, DoubleRegister dreg2); 1233 void SetCallCDoubleArguments(DoubleRegister dreg1, DoubleRegister dreg2);
1234 void SetCallCDoubleArguments(DoubleRegister dreg, Register reg); 1234 void SetCallCDoubleArguments(DoubleRegister dreg, Register reg);
1235 1235
1236 // Calls an API function. Allocates HandleScope, extracts returned value 1236 // Calls an API function. Allocates HandleScope, extracts returned value
1237 // from handle and propagates exceptions. Restores context. stack_space 1237 // from handle and propagates exceptions. Restores context. stack_space
1238 // - space to be unwound on exit (includes the call JS arguments space and 1238 // - space to be unwound on exit (includes the call JS arguments space and
1239 // the additional space allocated for the fast call). 1239 // the additional space allocated for the fast call).
1240 void CallApiFunctionAndReturn(ExternalReference function, int stack_space); 1240 void CallApiFunctionAndReturn(ExternalReference function,
1241 int stack_space,
1242 bool returns_handle,
1243 int return_value_offset_from_fp);
1241 1244
1242 // Jump to the builtin routine. 1245 // Jump to the builtin routine.
1243 void JumpToExternalReference(const ExternalReference& builtin, 1246 void JumpToExternalReference(const ExternalReference& builtin,
1244 BranchDelaySlot bd = PROTECT); 1247 BranchDelaySlot bd = PROTECT);
1245 1248
1246 // Invoke specified builtin JavaScript function. Adds an entry to 1249 // Invoke specified builtin JavaScript function. Adds an entry to
1247 // the unresolved list if the name does not resolve. 1250 // the unresolved list if the name does not resolve.
1248 void InvokeBuiltin(Builtins::JavaScript id, 1251 void InvokeBuiltin(Builtins::JavaScript id,
1249 InvokeFlag flag, 1252 InvokeFlag flag,
1250 const CallWrapper& call_wrapper = NullCallWrapper()); 1253 const CallWrapper& call_wrapper = NullCallWrapper());
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1585 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1583 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1586 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1584 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1587 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1585 #else 1588 #else
1586 #define ACCESS_MASM(masm) masm-> 1589 #define ACCESS_MASM(masm) masm->
1587 #endif 1590 #endif
1588 1591
1589 } } // namespace v8::internal 1592 } } // namespace v8::internal
1590 1593
1591 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1594 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698