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

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

Issue 185653004: Experimental parser: merge to r19637 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 9 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/lithium-codegen-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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 // transitioned_kind from the native context if the map in register 563 // transitioned_kind from the native context if the map in register
564 // map_in_out is the cached Array map in the native context of 564 // map_in_out is the cached Array map in the native context of
565 // expected_kind. 565 // expected_kind.
566 void LoadTransitionedArrayMapConditional( 566 void LoadTransitionedArrayMapConditional(
567 ElementsKind expected_kind, 567 ElementsKind expected_kind,
568 ElementsKind transitioned_kind, 568 ElementsKind transitioned_kind,
569 Register map_in_out, 569 Register map_in_out,
570 Register scratch, 570 Register scratch,
571 Label* no_map_match); 571 Label* no_map_match);
572 572
573 // Load the initial map for new Arrays from a JSFunction.
574 void LoadInitialArrayMap(Register function_in,
575 Register scratch,
576 Register map_out,
577 bool can_have_holes);
578
579 void LoadGlobalFunction(int index, Register function); 573 void LoadGlobalFunction(int index, Register function);
580 void LoadArrayFunction(Register function);
581 574
582 // Load the initial map from the global function. The registers 575 // Load the initial map from the global function. The registers
583 // function and map can be the same, function is then overwritten. 576 // function and map can be the same, function is then overwritten.
584 void LoadGlobalFunctionInitialMap(Register function, 577 void LoadGlobalFunctionInitialMap(Register function,
585 Register map, 578 Register map,
586 Register scratch); 579 Register scratch);
587 580
588 void InitializeRootRegister() { 581 void InitializeRootRegister() {
589 ExternalReference roots_array_start = 582 ExternalReference roots_array_start =
590 ExternalReference::roots_array_start(isolate()); 583 ExternalReference::roots_array_start(isolate());
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 int num_reg_arguments, 1120 int num_reg_arguments,
1128 int num_double_arguments); 1121 int num_double_arguments);
1129 1122
1130 void MovFromFloatParameter(DwVfpRegister dst); 1123 void MovFromFloatParameter(DwVfpRegister dst);
1131 void MovFromFloatResult(DwVfpRegister dst); 1124 void MovFromFloatResult(DwVfpRegister dst);
1132 1125
1133 // Calls an API function. Allocates HandleScope, extracts returned value 1126 // Calls an API function. Allocates HandleScope, extracts returned value
1134 // from handle and propagates exceptions. Restores context. stack_space 1127 // from handle and propagates exceptions. Restores context. stack_space
1135 // - space to be unwound on exit (includes the call JS arguments space and 1128 // - space to be unwound on exit (includes the call JS arguments space and
1136 // the additional space allocated for the fast call). 1129 // the additional space allocated for the fast call).
1137 void CallApiFunctionAndReturn(ExternalReference function, 1130 void CallApiFunctionAndReturn(Register function_address,
1138 Address function_address,
1139 ExternalReference thunk_ref, 1131 ExternalReference thunk_ref,
1140 Register thunk_last_arg,
1141 int stack_space, 1132 int stack_space,
1142 MemOperand return_value_operand, 1133 MemOperand return_value_operand,
1143 MemOperand* context_restore_operand); 1134 MemOperand* context_restore_operand);
1144 1135
1145 // Jump to a runtime routine. 1136 // Jump to a runtime routine.
1146 void JumpToExternalReference(const ExternalReference& builtin); 1137 void JumpToExternalReference(const ExternalReference& builtin);
1147 1138
1148 // Invoke specified builtin JavaScript function. Adds an entry to 1139 // Invoke specified builtin JavaScript function. Adds an entry to
1149 // the unresolved list if the name does not resolve. 1140 // the unresolved list if the name does not resolve.
1150 void InvokeBuiltin(Builtins::JavaScript id, 1141 void InvokeBuiltin(Builtins::JavaScript id,
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1528 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1538 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1529 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1539 #else 1530 #else
1540 #define ACCESS_MASM(masm) masm-> 1531 #define ACCESS_MASM(masm) masm->
1541 #endif 1532 #endif
1542 1533
1543 1534
1544 } } // namespace v8::internal 1535 } } // namespace v8::internal
1545 1536
1546 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1537 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698