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

Side by Side Diff: src/mips/simulator-mips.h

Issue 13989008: MIPS: Accurate function prototypes for native calls from ARM simulator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed register usage Created 7 years, 8 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/simulator-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 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 }; 344 };
345 int16_t exceptions[kNumExceptions]; 345 int16_t exceptions[kNumExceptions];
346 346
347 // Exceptions. 347 // Exceptions.
348 void SignalExceptions(); 348 void SignalExceptions();
349 349
350 // Runtime call support. 350 // Runtime call support.
351 static void* RedirectExternalReference(void* external_function, 351 static void* RedirectExternalReference(void* external_function,
352 ExternalReference::Type type); 352 ExternalReference::Type type);
353 353
354 // For use in calls that take double value arguments. 354 // Handle arguments and return value for runtime FP functions.
355 void GetFpArgs(double* x, double* y); 355 void GetFpArgs(double* x, double* y, int32_t* z);
356 void GetFpArgs(double* x);
357 void GetFpArgs(double* x, int32_t* y);
358 void SetFpResult(const double& result); 356 void SetFpResult(const double& result);
359 357
360 void CallInternal(byte* entry); 358 void CallInternal(byte* entry);
361 359
362 // Architecture state. 360 // Architecture state.
363 // Registers. 361 // Registers.
364 int32_t registers_[kNumSimuRegisters]; 362 int32_t registers_[kNumSimuRegisters];
365 // Coprocessor Registers. 363 // Coprocessor Registers.
366 int32_t FPUregisters_[kNumFPURegisters]; 364 int32_t FPUregisters_[kNumFPURegisters];
367 // FPU control register. 365 // FPU control register.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 434
437 static inline void UnregisterCTryCatch() { 435 static inline void UnregisterCTryCatch() {
438 Simulator::current(Isolate::Current())->PopAddress(); 436 Simulator::current(Isolate::Current())->PopAddress();
439 } 437 }
440 }; 438 };
441 439
442 } } // namespace v8::internal 440 } } // namespace v8::internal
443 441
444 #endif // !defined(USE_SIMULATOR) 442 #endif // !defined(USE_SIMULATOR)
445 #endif // V8_MIPS_SIMULATOR_MIPS_H_ 443 #endif // V8_MIPS_SIMULATOR_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/simulator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698