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

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

Issue 133993010: Merged r18805 into trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 11 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/version.cc ('k') | src/x64/stub-cache-x64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 rcx, // name 411 rcx, // name
412 }; 412 };
413 static Representation representations[] = { 413 static Representation representations[] = {
414 Representation::Tagged(), // context 414 Representation::Tagged(), // context
415 Representation::Tagged(), // name 415 Representation::Tagged(), // name
416 }; 416 };
417 descriptor->register_param_count_ = 2; 417 descriptor->register_param_count_ = 2;
418 descriptor->register_params_ = registers; 418 descriptor->register_params_ = registers;
419 descriptor->param_representations_ = representations; 419 descriptor->param_representations_ = representations;
420 } 420 }
421 {
422 CallInterfaceDescriptor* descriptor =
423 isolate->call_descriptor(Isolate::CallHandler);
424 static Register registers[] = { rsi, // context
425 rdx, // receiver
426 };
427 static Representation representations[] = {
428 Representation::Tagged(), // context
429 Representation::Tagged(), // receiver
430 };
431 descriptor->register_param_count_ = 2;
432 descriptor->register_params_ = registers;
433 descriptor->param_representations_ = representations;
434 }
435 } 421 }
436 422
437 423
438 #define __ ACCESS_MASM(masm) 424 #define __ ACCESS_MASM(masm)
439 425
440 426
441 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) { 427 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) {
442 // Update the static counter each time a new code stub is generated. 428 // Update the static counter each time a new code stub is generated.
443 Isolate* isolate = masm->isolate(); 429 Isolate* isolate = masm->isolate();
444 isolate->counters()->code_stubs()->Increment(); 430 isolate->counters()->code_stubs()->Increment();
(...skipping 4775 matching lines...) Expand 10 before | Expand all | Expand 10 after
5220 __ bind(&fast_elements_case); 5206 __ bind(&fast_elements_case);
5221 GenerateCase(masm, FAST_ELEMENTS); 5207 GenerateCase(masm, FAST_ELEMENTS);
5222 } 5208 }
5223 5209
5224 5210
5225 #undef __ 5211 #undef __
5226 5212
5227 } } // namespace v8::internal 5213 } } // namespace v8::internal
5228 5214
5229 #endif // V8_TARGET_ARCH_X64 5215 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/version.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698