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

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

Issue 11498006: Revert 13157, 13145 and 13140: Crankshaft code stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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/x64/lithium-x64.cc ('k') | src/x64/macro-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 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 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 // Helper for throwing exceptions. Compute a handler address and jump to 1407 // Helper for throwing exceptions. Compute a handler address and jump to
1408 // it. See the implementation for register usage. 1408 // it. See the implementation for register usage.
1409 void JumpToHandlerEntry(); 1409 void JumpToHandlerEntry();
1410 1410
1411 // Compute memory operands for safepoint stack slots. 1411 // Compute memory operands for safepoint stack slots.
1412 Operand SafepointRegisterSlot(Register reg); 1412 Operand SafepointRegisterSlot(Register reg);
1413 static int SafepointRegisterStackIndex(int reg_code) { 1413 static int SafepointRegisterStackIndex(int reg_code) {
1414 return kNumSafepointRegisters - kSafepointPushRegisterIndices[reg_code] - 1; 1414 return kNumSafepointRegisters - kSafepointPushRegisterIndices[reg_code] - 1;
1415 } 1415 }
1416 1416
1417 // Needs access to SafepointRegisterStackIndex for compiled frame 1417 // Needs access to SafepointRegisterStackIndex for optimized frame
1418 // traversal. 1418 // traversal.
1419 friend class CompiledFrame; 1419 friend class OptimizedFrame;
1420 }; 1420 };
1421 1421
1422 1422
1423 // The code patcher is used to patch (typically) small parts of code e.g. for 1423 // The code patcher is used to patch (typically) small parts of code e.g. for
1424 // debugging and other types of instrumentation. When using the code patcher 1424 // debugging and other types of instrumentation. When using the code patcher
1425 // the exact number of bytes specified must be emitted. Is not legal to emit 1425 // the exact number of bytes specified must be emitted. Is not legal to emit
1426 // relocation information. If any of these constraints are violated it causes 1426 // relocation information. If any of these constraints are violated it causes
1427 // an assertion. 1427 // an assertion.
1428 class CodePatcher { 1428 class CodePatcher {
1429 public: 1429 public:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 masm->popfd(); \ 1497 masm->popfd(); \
1498 } \ 1498 } \
1499 masm-> 1499 masm->
1500 #else 1500 #else
1501 #define ACCESS_MASM(masm) masm-> 1501 #define ACCESS_MASM(masm) masm->
1502 #endif 1502 #endif
1503 1503
1504 } } // namespace v8::internal 1504 } } // namespace v8::internal
1505 1505
1506 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1506 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698