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

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

Issue 24196002: revert 16744 for breaking build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 Label* not_int32); 534 Label* not_int32);
535 535
536 536
537 // Enter exit frame. 537 // Enter exit frame.
538 // stack_space - extra stack space, used for alignment before call to C. 538 // stack_space - extra stack space, used for alignment before call to C.
539 void EnterExitFrame(bool save_doubles, int stack_space = 0); 539 void EnterExitFrame(bool save_doubles, int stack_space = 0);
540 540
541 // Leave the current exit frame. Expects the return value in r0. 541 // Leave the current exit frame. Expects the return value in r0.
542 // Expect the number of values, pushed prior to the exit frame, to 542 // Expect the number of values, pushed prior to the exit frame, to
543 // remove in a register (or no_reg, if there is nothing to remove). 543 // remove in a register (or no_reg, if there is nothing to remove).
544 void LeaveExitFrame(bool save_doubles, 544 void LeaveExitFrame(bool save_doubles, Register argument_count);
545 Register argument_count,
546 bool restore_context);
547 545
548 // Get the actual activation frame alignment for target environment. 546 // Get the actual activation frame alignment for target environment.
549 static int ActivationFrameAlignment(); 547 static int ActivationFrameAlignment();
550 548
551 void LoadContext(Register dst, int context_chain_length); 549 void LoadContext(Register dst, int context_chain_length);
552 550
553 // Conditionally load the cached Array transitioned map of type 551 // Conditionally load the cached Array transitioned map of type
554 // transitioned_kind from the native context if the map in register 552 // transitioned_kind from the native context if the map in register
555 // map_in_out is the cached Array map in the native context of 553 // map_in_out is the cached Array map in the native context of
556 // expected_kind. 554 // expected_kind.
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 1104
1107 // Calls an API function. Allocates HandleScope, extracts returned value 1105 // Calls an API function. Allocates HandleScope, extracts returned value
1108 // from handle and propagates exceptions. Restores context. stack_space 1106 // from handle and propagates exceptions. Restores context. stack_space
1109 // - space to be unwound on exit (includes the call JS arguments space and 1107 // - space to be unwound on exit (includes the call JS arguments space and
1110 // the additional space allocated for the fast call). 1108 // the additional space allocated for the fast call).
1111 void CallApiFunctionAndReturn(ExternalReference function, 1109 void CallApiFunctionAndReturn(ExternalReference function,
1112 Address function_address, 1110 Address function_address,
1113 ExternalReference thunk_ref, 1111 ExternalReference thunk_ref,
1114 Register thunk_last_arg, 1112 Register thunk_last_arg,
1115 int stack_space, 1113 int stack_space,
1116 MemOperand return_value_operand, 1114 int return_value_offset_from_fp);
1117 MemOperand* context_restore_operand);
1118 1115
1119 // Jump to a runtime routine. 1116 // Jump to a runtime routine.
1120 void JumpToExternalReference(const ExternalReference& builtin); 1117 void JumpToExternalReference(const ExternalReference& builtin);
1121 1118
1122 // Invoke specified builtin JavaScript function. Adds an entry to 1119 // Invoke specified builtin JavaScript function. Adds an entry to
1123 // the unresolved list if the name does not resolve. 1120 // the unresolved list if the name does not resolve.
1124 void InvokeBuiltin(Builtins::JavaScript id, 1121 void InvokeBuiltin(Builtins::JavaScript id,
1125 InvokeFlag flag, 1122 InvokeFlag flag,
1126 const CallWrapper& call_wrapper = NullCallWrapper()); 1123 const CallWrapper& call_wrapper = NullCallWrapper());
1127 1124
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1479 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1483 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1480 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1484 #else 1481 #else
1485 #define ACCESS_MASM(masm) masm-> 1482 #define ACCESS_MASM(masm) masm->
1486 #endif 1483 #endif
1487 1484
1488 1485
1489 } } // namespace v8::internal 1486 } } // namespace v8::internal
1490 1487
1491 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1488 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698