Revision: 21923
Author: [email protected]
Date: Mon Jun 23 09:17:04 2014 UTC
Log: X87: Introduce intrinsic to expose debug state to generated code.
port r21908.
original commit message:
BUG=
[email protected]
Review URL: https://codereview.chromium.org/349183002
Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=21923
Modified:
/branches/bleeding_edge/src/x87/full-codegen-x87.cc
=======================================
--- /branches/bleeding_edge/src/x87/full-codegen-x87.cc Wed Jun 18 03:31:30
2014 UTC
+++ /branches/bleeding_edge/src/x87/full-codegen-x87.cc Mon Jun 23 09:17:04
2014 UTC
@@ -3987,6 +3987,16 @@
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));
context()->Plug(eax);
}
+
+
+void FullCodeGenerator::EmitDebugIsActive(CallRuntime* expr) {
+ ASSERT(expr->arguments()->length() == 0);
+ ExternalReference debug_is_active =
+ ExternalReference::debug_is_active_address(isolate());
+ __ movzx_b(eax, Operand::StaticVariable(debug_is_active));
+ __ SmiTag(eax);
+ context()->Plug(eax);
+}
void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.