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

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

Issue 11659022: Generate the TransitionElementsStub using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review feedback Created 7 years, 10 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/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-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 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 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1313 // Expects object in rax and returns map with validated enum cache 1313 // Expects object in rax and returns map with validated enum cache
1314 // in rax. Assumes that any other register can be used as a scratch. 1314 // in rax. Assumes that any other register can be used as a scratch.
1315 void CheckEnumCache(Register null_value, 1315 void CheckEnumCache(Register null_value,
1316 Label* call_runtime); 1316 Label* call_runtime);
1317 1317
1318 // AllocationSiteInfo support. Arrays may have an associated 1318 // AllocationSiteInfo support. Arrays may have an associated
1319 // AllocationSiteInfo object that can be checked for in order to pretransition 1319 // AllocationSiteInfo object that can be checked for in order to pretransition
1320 // to another type. 1320 // to another type.
1321 // On entry, receiver_reg should point to the array object. 1321 // On entry, receiver_reg should point to the array object.
1322 // scratch_reg gets clobbered. 1322 // scratch_reg gets clobbered.
1323 // If allocation info is present, jump to allocation_info_present 1323 // If allocation info is present, condition flags are set to equal
1324 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, 1324 void TestJSArrayForAllocationSiteInfo(Register receiver_reg,
1325 Register scratch_reg, 1325 Register scratch_reg);
1326 Label* allocation_info_present);
1327 1326
1328 private: 1327 private:
1329 // Order general registers are pushed by Pushad. 1328 // Order general registers are pushed by Pushad.
1330 // rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r14, r15. 1329 // rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r14, r15.
1331 static const int kSafepointPushRegisterIndices[Register::kNumRegisters]; 1330 static const int kSafepointPushRegisterIndices[Register::kNumRegisters];
1332 static const int kNumSafepointSavedRegisters = 11; 1331 static const int kNumSafepointSavedRegisters = 11;
1333 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; 1332 static const int kSmiShift = kSmiTagSize + kSmiShiftSize;
1334 1333
1335 bool generating_stub_; 1334 bool generating_stub_;
1336 bool allow_stub_calls_; 1335 bool allow_stub_calls_;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1494 masm->popfq(); \ 1493 masm->popfq(); \
1495 } \ 1494 } \
1496 masm-> 1495 masm->
1497 #else 1496 #else
1498 #define ACCESS_MASM(masm) masm-> 1497 #define ACCESS_MASM(masm) masm->
1499 #endif 1498 #endif
1500 1499
1501 } } // namespace v8::internal 1500 } } // namespace v8::internal
1502 1501
1503 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1502 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698