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

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

Issue 922153002: Move identical code from platform specific assemblers to assembler.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/x64/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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 } 1330 }
1331 1331
1332 // Mark address of the ExitJSFrame code. 1332 // Mark address of the ExitJSFrame code.
1333 void RecordJSReturn(); 1333 void RecordJSReturn();
1334 1334
1335 // Mark address of a debug break slot. 1335 // Mark address of a debug break slot.
1336 void RecordDebugBreakSlot(); 1336 void RecordDebugBreakSlot();
1337 1337
1338 // Record a comment relocation entry that can be used by a disassembler. 1338 // Record a comment relocation entry that can be used by a disassembler.
1339 // Use --code-comments to enable. 1339 // Use --code-comments to enable.
1340 void RecordComment(const char* msg, bool force = false); 1340 void RecordComment(const char* msg);
1341 1341
1342 // Record a deoptimization reason that can be used by a log or cpu profiler. 1342 // Record a deoptimization reason that can be used by a log or cpu profiler.
1343 // Use --trace-deopt to enable. 1343 // Use --trace-deopt to enable.
1344 void RecordDeoptReason(const int reason, const int raw_position); 1344 void RecordDeoptReason(const int reason, const int raw_position);
1345 1345
1346 // Allocate a constant pool of the correct size for the generated code. 1346 // Allocate a constant pool of the correct size for the generated code.
1347 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); 1347 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate);
1348 1348
1349 // Generate the constant pool for the generated code. 1349 // Generate the constant pool for the generated code.
1350 void PopulateConstantPool(ConstantPoolArray* constant_pool); 1350 void PopulateConstantPool(ConstantPoolArray* constant_pool);
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 private: 1853 private:
1854 Assembler* assembler_; 1854 Assembler* assembler_;
1855 #ifdef DEBUG 1855 #ifdef DEBUG
1856 int space_before_; 1856 int space_before_;
1857 #endif 1857 #endif
1858 }; 1858 };
1859 1859
1860 } } // namespace v8::internal 1860 } } // namespace v8::internal
1861 1861
1862 #endif // V8_X64_ASSEMBLER_X64_H_ 1862 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698