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

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

Issue 85633004: MIPS: A performance regression in array literal creation was caused by refactoring. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | src/mips/full-codegen-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 // 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 73
74 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( 74 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
75 Isolate* isolate, 75 Isolate* isolate,
76 CodeStubInterfaceDescriptor* descriptor) { 76 CodeStubInterfaceDescriptor* descriptor) {
77 static Register registers[] = { a3, a2, a1 }; 77 static Register registers[] = { a3, a2, a1 };
78 descriptor->register_param_count_ = 3; 78 descriptor->register_param_count_ = 3;
79 descriptor->register_params_ = registers; 79 descriptor->register_params_ = registers;
80 descriptor->deoptimization_handler_ = 80 descriptor->deoptimization_handler_ =
81 Runtime::FunctionForId(Runtime::kCreateArrayLiteral)->entry; 81 Runtime::FunctionForId(Runtime::kCreateArrayLiteralStubBailout)->entry;
82 } 82 }
83 83
84 84
85 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( 85 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
86 Isolate* isolate, 86 Isolate* isolate,
87 CodeStubInterfaceDescriptor* descriptor) { 87 CodeStubInterfaceDescriptor* descriptor) {
88 static Register registers[] = { a3, a2, a1, a0 }; 88 static Register registers[] = { a3, a2, a1, a0 };
89 descriptor->register_param_count_ = 4; 89 descriptor->register_param_count_ = 4;
90 descriptor->register_params_ = registers; 90 descriptor->register_params_ = registers;
91 descriptor->deoptimization_handler_ = 91 descriptor->deoptimization_handler_ =
(...skipping 6194 matching lines...) Expand 10 before | Expand all | Expand 10 after
6286 __ bind(&fast_elements_case); 6286 __ bind(&fast_elements_case);
6287 GenerateCase(masm, FAST_ELEMENTS); 6287 GenerateCase(masm, FAST_ELEMENTS);
6288 } 6288 }
6289 6289
6290 6290
6291 #undef __ 6291 #undef __
6292 6292
6293 } } // namespace v8::internal 6293 } } // namespace v8::internal
6294 6294
6295 #endif // V8_TARGET_ARCH_MIPS 6295 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698