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

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

Issue 9159008: MIPS: Change inlined cache of intanceof stub to use indirection through cell. (Closed)
Patch Set: Updated based on review comments. Created 8 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
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 1330
1331 1331
1332 // Activation support. 1332 // Activation support.
1333 void EnterFrame(StackFrame::Type type); 1333 void EnterFrame(StackFrame::Type type);
1334 void LeaveFrame(StackFrame::Type type); 1334 void LeaveFrame(StackFrame::Type type);
1335 1335
1336 // Patch the relocated value (lui/ori pair). 1336 // Patch the relocated value (lui/ori pair).
1337 void PatchRelocatedValue(Register li_location, 1337 void PatchRelocatedValue(Register li_location,
1338 Register scratch, 1338 Register scratch,
1339 Register new_value); 1339 Register new_value);
1340 // Get the relocatad value (loaded data) from the lui/ori pair.
1341 void GetRelocatedValue(Register li_location,
1342 Register value,
1343 Register scratch);
1340 1344
1341 private: 1345 private:
1342 void CallCFunctionHelper(Register function, 1346 void CallCFunctionHelper(Register function,
1343 int num_reg_arguments, 1347 int num_reg_arguments,
1344 int num_double_arguments); 1348 int num_double_arguments);
1345 1349
1346 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); 1350 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT);
1347 void BranchShort(int16_t offset, Condition cond, Register rs, 1351 void BranchShort(int16_t offset, Condition cond, Register rs,
1348 const Operand& rt, 1352 const Operand& rt,
1349 BranchDelaySlot bdslot = PROTECT); 1353 BranchDelaySlot bdslot = PROTECT);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1458 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1455 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1459 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1456 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1460 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1457 #else 1461 #else
1458 #define ACCESS_MASM(masm) masm-> 1462 #define ACCESS_MASM(masm) masm->
1459 #endif 1463 #endif
1460 1464
1461 } } // namespace v8::internal 1465 } } // namespace v8::internal
1462 1466
1463 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1467 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698