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

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

Issue 10824079: Use a special EnumLength field to indicate number of valid enum cache values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 8 years, 3 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/lithium-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 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 void ClampUint8(Register output_reg, Register input_reg); 1265 void ClampUint8(Register output_reg, Register input_reg);
1266 1266
1267 void ClampDoubleToUint8(Register result_reg, 1267 void ClampDoubleToUint8(Register result_reg,
1268 DoubleRegister input_reg, 1268 DoubleRegister input_reg,
1269 DoubleRegister temp_double_reg); 1269 DoubleRegister temp_double_reg);
1270 1270
1271 1271
1272 void LoadInstanceDescriptors(Register map, 1272 void LoadInstanceDescriptors(Register map,
1273 Register descriptors, 1273 Register descriptors,
1274 Register scratch); 1274 Register scratch);
1275 void EnumLength(Register dst, Register map);
1275 1276
1276 // Activation support. 1277 // Activation support.
1277 void EnterFrame(StackFrame::Type type); 1278 void EnterFrame(StackFrame::Type type);
1278 void LeaveFrame(StackFrame::Type type); 1279 void LeaveFrame(StackFrame::Type type);
1279 1280
1280 // Expects object in r0 and returns map with validated enum cache 1281 // Expects object in r0 and returns map with validated enum cache
1281 // in r0. Assumes that any other register can be used as a scratch. 1282 // in r0. Assumes that any other register can be used as a scratch.
1282 void CheckEnumCache(Register null_value, Label* call_runtime); 1283 void CheckEnumCache(Register null_value, Label* call_runtime);
1283 1284
1284 private: 1285 private:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1389 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1390 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1390 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1391 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1391 #else 1392 #else
1392 #define ACCESS_MASM(masm) masm-> 1393 #define ACCESS_MASM(masm) masm->
1393 #endif 1394 #endif
1394 1395
1395 1396
1396 } } // namespace v8::internal 1397 } } // namespace v8::internal
1397 1398
1398 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1399 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-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