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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 54333003: Remove CreateArrayLiteralShallow (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comments and a test. Created 7 years, 1 month 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/arm/full-codegen-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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 72
73 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( 73 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
74 Isolate* isolate, 74 Isolate* isolate,
75 CodeStubInterfaceDescriptor* descriptor) { 75 CodeStubInterfaceDescriptor* descriptor) {
76 static Register registers[] = { r3, r2, r1 }; 76 static Register registers[] = { r3, r2, r1 };
77 descriptor->register_param_count_ = 3; 77 descriptor->register_param_count_ = 3;
78 descriptor->register_params_ = registers; 78 descriptor->register_params_ = registers;
79 descriptor->deoptimization_handler_ = 79 descriptor->deoptimization_handler_ =
80 Runtime::FunctionForId(Runtime::kCreateArrayLiteralShallow)->entry; 80 Runtime::FunctionForId(Runtime::kCreateArrayLiteral)->entry;
81 } 81 }
82 82
83 83
84 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( 84 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
85 Isolate* isolate, 85 Isolate* isolate,
86 CodeStubInterfaceDescriptor* descriptor) { 86 CodeStubInterfaceDescriptor* descriptor) {
87 static Register registers[] = { r3, r2, r1, r0 }; 87 static Register registers[] = { r3, r2, r1, r0 };
88 descriptor->register_param_count_ = 4; 88 descriptor->register_param_count_ = 4;
89 descriptor->register_params_ = registers; 89 descriptor->register_params_ = registers;
90 descriptor->deoptimization_handler_ = 90 descriptor->deoptimization_handler_ =
(...skipping 5977 matching lines...) Expand 10 before | Expand all | Expand 10 after
6068 __ bind(&fast_elements_case); 6068 __ bind(&fast_elements_case);
6069 GenerateCase(masm, FAST_ELEMENTS); 6069 GenerateCase(masm, FAST_ELEMENTS);
6070 } 6070 }
6071 6071
6072 6072
6073 #undef __ 6073 #undef __
6074 6074
6075 } } // namespace v8::internal 6075 } } // namespace v8::internal
6076 6076
6077 #endif // V8_TARGET_ARCH_ARM 6077 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698