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

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

Issue 874323003: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor change 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/lithium-codegen-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 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 // Mark address of the ExitJSFrame code. 1323 // Mark address of the ExitJSFrame code.
1324 void RecordJSReturn(); 1324 void RecordJSReturn();
1325 1325
1326 // Mark address of a debug break slot. 1326 // Mark address of a debug break slot.
1327 void RecordDebugBreakSlot(); 1327 void RecordDebugBreakSlot();
1328 1328
1329 // Record a comment relocation entry that can be used by a disassembler. 1329 // Record a comment relocation entry that can be used by a disassembler.
1330 // Use --code-comments to enable. 1330 // Use --code-comments to enable.
1331 void RecordComment(const char* msg, bool force = false); 1331 void RecordComment(const char* msg, bool force = false);
1332 1332
1333 // Record a deoptimization reason that can be used by a log or cpu profiler.
1334 // Use --trace-deopt to enable.
1335 void RecordDeoptReason(const int reason, const int raw_position);
1336
1333 // Allocate a constant pool of the correct size for the generated code. 1337 // Allocate a constant pool of the correct size for the generated code.
1334 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); 1338 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate);
1335 1339
1336 // Generate the constant pool for the generated code. 1340 // Generate the constant pool for the generated code.
1337 void PopulateConstantPool(ConstantPoolArray* constant_pool); 1341 void PopulateConstantPool(ConstantPoolArray* constant_pool);
1338 1342
1339 // Writes a single word of data in the code stream. 1343 // Writes a single word of data in the code stream.
1340 // Used for inline tables, e.g., jump-tables. 1344 // Used for inline tables, e.g., jump-tables.
1341 void db(uint8_t data); 1345 void db(uint8_t data);
1342 void dd(uint32_t data); 1346 void dd(uint32_t data);
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1837 private: 1841 private:
1838 Assembler* assembler_; 1842 Assembler* assembler_;
1839 #ifdef DEBUG 1843 #ifdef DEBUG
1840 int space_before_; 1844 int space_before_;
1841 #endif 1845 #endif
1842 }; 1846 };
1843 1847
1844 } } // namespace v8::internal 1848 } } // namespace v8::internal
1845 1849
1846 #endif // V8_X64_ASSEMBLER_X64_H_ 1850 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698