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

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

Issue 9455088: Remove static initializers in v8. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Lint. 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 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 return SafepointRegisterStackIndex(reg.code()); 1295 return SafepointRegisterStackIndex(reg.code());
1296 } 1296 }
1297 1297
1298 // Activation support. 1298 // Activation support.
1299 void EnterFrame(StackFrame::Type type); 1299 void EnterFrame(StackFrame::Type type);
1300 void LeaveFrame(StackFrame::Type type); 1300 void LeaveFrame(StackFrame::Type type);
1301 1301
1302 private: 1302 private:
1303 // Order general registers are pushed by Pushad. 1303 // Order general registers are pushed by Pushad.
1304 // rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r14, r15. 1304 // rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r14, r15.
1305 static int kSafepointPushRegisterIndices[Register::kNumRegisters]; 1305 static const int kSafepointPushRegisterIndices[Register::kNumRegisters];
1306 static const int kNumSafepointSavedRegisters = 11; 1306 static const int kNumSafepointSavedRegisters = 11;
1307 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; 1307 static const int kSmiShift = kSmiTagSize + kSmiShiftSize;
1308 1308
1309 bool generating_stub_; 1309 bool generating_stub_;
1310 bool allow_stub_calls_; 1310 bool allow_stub_calls_;
1311 bool has_frame_; 1311 bool has_frame_;
1312 bool root_array_available_; 1312 bool root_array_available_;
1313 1313
1314 // Returns a register holding the smi value. The register MUST NOT be 1314 // Returns a register holding the smi value. The register MUST NOT be
1315 // modified. It may be the "smi 1 constant" register. 1315 // modified. It may be the "smi 1 constant" register.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 masm->popfd(); \ 1467 masm->popfd(); \
1468 } \ 1468 } \
1469 masm-> 1469 masm->
1470 #else 1470 #else
1471 #define ACCESS_MASM(masm) masm-> 1471 #define ACCESS_MASM(masm) masm->
1472 #endif 1472 #endif
1473 1473
1474 } } // namespace v8::internal 1474 } } // namespace v8::internal
1475 1475
1476 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1476 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698