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

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

Issue 346413004: Remove distinction between hidden and normal runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix natives fuzzing 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
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 #include <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 4043 matching lines...) Expand 10 before | Expand all | Expand 10 after
4054 if (restore_context) { 4054 if (restore_context) {
4055 lw(cp, *context_restore_operand); 4055 lw(cp, *context_restore_operand);
4056 } 4056 }
4057 li(s0, Operand(stack_space)); 4057 li(s0, Operand(stack_space));
4058 LeaveExitFrame(false, s0, !restore_context, EMIT_RETURN); 4058 LeaveExitFrame(false, s0, !restore_context, EMIT_RETURN);
4059 4059
4060 bind(&promote_scheduled_exception); 4060 bind(&promote_scheduled_exception);
4061 { 4061 {
4062 FrameScope frame(this, StackFrame::INTERNAL); 4062 FrameScope frame(this, StackFrame::INTERNAL);
4063 CallExternalReference( 4063 CallExternalReference(
4064 ExternalReference(Runtime::kHiddenPromoteScheduledException, isolate()), 4064 ExternalReference(Runtime::kPromoteScheduledException, isolate()),
4065 0); 4065 0);
4066 } 4066 }
4067 jmp(&exception_handled); 4067 jmp(&exception_handled);
4068 4068
4069 // HandleScope limit has changed. Delete allocated extensions. 4069 // HandleScope limit has changed. Delete allocated extensions.
4070 bind(&delete_allocated_handles); 4070 bind(&delete_allocated_handles);
4071 sw(s1, MemOperand(s3, kLimitOffset)); 4071 sw(s1, MemOperand(s3, kLimitOffset));
4072 mov(s0, v0); 4072 mov(s0, v0);
4073 mov(a0, v0); 4073 mov(a0, v0);
4074 PrepareCallCFunction(1, s1); 4074 PrepareCallCFunction(1, s1);
(...skipping 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after
5756 } 5756 }
5757 if (ms.shift() > 0) sra(result, result, ms.shift()); 5757 if (ms.shift() > 0) sra(result, result, ms.shift());
5758 srl(at, dividend, 31); 5758 srl(at, dividend, 31);
5759 Addu(result, result, Operand(at)); 5759 Addu(result, result, Operand(at));
5760 } 5760 }
5761 5761
5762 5762
5763 } } // namespace v8::internal 5763 } } // namespace v8::internal
5764 5764
5765 #endif // V8_TARGET_ARCH_MIPS 5765 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698