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

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

Issue 9425045: Support fast case for-in in Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: port to x64&arm, cleanup Created 8 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
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 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 DoubleRegister input_reg, 1252 DoubleRegister input_reg,
1253 DoubleRegister temp_double_reg); 1253 DoubleRegister temp_double_reg);
1254 1254
1255 1255
1256 void LoadInstanceDescriptors(Register map, Register descriptors); 1256 void LoadInstanceDescriptors(Register map, Register descriptors);
1257 1257
1258 // Activation support. 1258 // Activation support.
1259 void EnterFrame(StackFrame::Type type); 1259 void EnterFrame(StackFrame::Type type);
1260 void LeaveFrame(StackFrame::Type type); 1260 void LeaveFrame(StackFrame::Type type);
1261 1261
1262 // Expects object in r0 and returns map with validated enum cache
1263 // in r0. Assumes that any other register can be used as a scratch.
1264 void CheckEnumCache(Register null_value, Label* call_runtime);
1265
1262 private: 1266 private:
1263 void CallCFunctionHelper(Register function, 1267 void CallCFunctionHelper(Register function,
1264 int num_reg_arguments, 1268 int num_reg_arguments,
1265 int num_double_arguments); 1269 int num_double_arguments);
1266 1270
1267 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1271 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1268 1272
1269 // Helper functions for generating invokes. 1273 // Helper functions for generating invokes.
1270 void InvokePrologue(const ParameterCount& expected, 1274 void InvokePrologue(const ParameterCount& expected,
1271 const ParameterCount& actual, 1275 const ParameterCount& actual,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1373 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1370 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1374 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1371 #else 1375 #else
1372 #define ACCESS_MASM(masm) masm-> 1376 #define ACCESS_MASM(masm) masm->
1373 #endif 1377 #endif
1374 1378
1375 1379
1376 } } // namespace v8::internal 1380 } } // namespace v8::internal
1377 1381
1378 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1382 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698