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

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

Issue 11663005: Adapt Danno's Track Allocation Info idea to fast literals. When allocating a literal array, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A few more review comments Created 7 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/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 } 1302 }
1303 1303
1304 // Activation support. 1304 // Activation support.
1305 void EnterFrame(StackFrame::Type type); 1305 void EnterFrame(StackFrame::Type type);
1306 void LeaveFrame(StackFrame::Type type); 1306 void LeaveFrame(StackFrame::Type type);
1307 1307
1308 // Expects object in r0 and returns map with validated enum cache 1308 // Expects object in r0 and returns map with validated enum cache
1309 // in r0. Assumes that any other register can be used as a scratch. 1309 // in r0. Assumes that any other register can be used as a scratch.
1310 void CheckEnumCache(Register null_value, Label* call_runtime); 1310 void CheckEnumCache(Register null_value, Label* call_runtime);
1311 1311
1312 // AllocationSiteInfo support. Arrays may have an associated
1313 // AllocationSiteInfo object that can be checked for in order to pretransition
1314 // to another type.
1315 // On entry, receiver_reg should point to the array object.
1316 // scratch_reg gets clobbered.
1317 // If allocation info is present, jump to allocation_info_present
1318 void TestJSArrayForAllocationSiteInfo(Register receiver_reg,
1319 Register scratch_reg,
1320 Label* allocation_info_present);
1321
1312 private: 1322 private:
1313 void CallCFunctionHelper(Register function, 1323 void CallCFunctionHelper(Register function,
1314 int num_reg_arguments, 1324 int num_reg_arguments,
1315 int num_double_arguments); 1325 int num_double_arguments);
1316 1326
1317 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1327 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1318 1328
1319 // Helper functions for generating invokes. 1329 // Helper functions for generating invokes.
1320 void InvokePrologue(const ParameterCount& expected, 1330 void InvokePrologue(const ParameterCount& expected,
1321 const ParameterCount& actual, 1331 const ParameterCount& actual,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1427 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1418 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1428 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1419 #else 1429 #else
1420 #define ACCESS_MASM(masm) masm-> 1430 #define ACCESS_MASM(masm) masm->
1421 #endif 1431 #endif
1422 1432
1423 1433
1424 } } // namespace v8::internal 1434 } } // namespace v8::internal
1425 1435
1426 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1436 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698