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

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

Issue 308083006: Don't push eax/rax before calling Runtime_Abort (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/ia32/macro-assembler-ia32.cc ('k') | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "assembler.h" 8 #include "assembler.h"
9 #include "mips/assembler-mips.h" 9 #include "mips/assembler-mips.h"
10 #include "globals.h" 10 #include "globals.h"
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 // Must preserve the result register. 924 // Must preserve the result register.
925 void PopTryHandler(); 925 void PopTryHandler();
926 926
927 // Passes thrown value to the handler of top of the try handler chain. 927 // Passes thrown value to the handler of top of the try handler chain.
928 void Throw(Register value); 928 void Throw(Register value);
929 929
930 // Propagates an uncatchable exception to the top of the current JS stack's 930 // Propagates an uncatchable exception to the top of the current JS stack's
931 // handler chain. 931 // handler chain.
932 void ThrowUncatchable(Register value); 932 void ThrowUncatchable(Register value);
933 933
934 // Throw a message string as an exception.
935 void Throw(BailoutReason reason);
936
937 // Throw a message string as an exception if a condition is not true.
938 void ThrowIf(Condition cc, BailoutReason reason, Register rs, Operand rt);
939
940 // Copies a fixed number of fields of heap objects from src to dst. 934 // Copies a fixed number of fields of heap objects from src to dst.
941 void CopyFields(Register dst, Register src, RegList temps, int field_count); 935 void CopyFields(Register dst, Register src, RegList temps, int field_count);
942 936
943 // Copies a number of bytes from src to dst. All registers are clobbered. On 937 // Copies a number of bytes from src to dst. All registers are clobbered. On
944 // exit src and dst will point to the place just after where the last byte was 938 // exit src and dst will point to the place just after where the last byte was
945 // read or written and length will be zero. 939 // read or written and length will be zero.
946 void CopyBytes(Register src, 940 void CopyBytes(Register src,
947 Register dst, 941 Register dst,
948 Register length, 942 Register length,
949 Register scratch); 943 Register scratch);
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1670 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1677 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1671 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1678 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1672 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1679 #else 1673 #else
1680 #define ACCESS_MASM(masm) masm-> 1674 #define ACCESS_MASM(masm) masm->
1681 #endif 1675 #endif
1682 1676
1683 } } // namespace v8::internal 1677 } } // namespace v8::internal
1684 1678
1685 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1679 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698